On 29 January 2013 14:48, Elias Pschernig <
elias.pschernig@xxxxxxxxxxxxxxxxx> wrote:
>
> I wonder if we shouldn't try and get rid of float wherever possible.
>
> On Tue, Jan 29, 2013 at 2:47 PM, Nick Trout <
chinbillybilbo@xxxxxxxxxx> wrote:
> > Any thoughts on this?
> >
> >
> > On 26 January 2013 20:11, Nick Trout <
chinbillybilbo@xxxxxxxxxx> wrote:
> >>
> >> I noticed whilst going through the code that float math functions are
> >> sometimes used inconsistently, e.g. fabs instead of fabsf where <math.h>
> >> declares:
> >>
> >> double fabs(double);
> >> float fabsf(float);
> >>
> >> The compiler should promote the argument to a double. This might not be
> >> inefficient on some platforms, but it is inconsistent, and could inefficient
> >> on some lesser platforms.
> >>
> >> Cheers, Nick
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > Master Visual Studio, SharePoint, SQL,
ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> >
http://p.sf.net/sfu/learnnow-d2d> > --
> >
https://lists.sourceforge.net/lists/listinfo/alleg-developers
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL,
ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, _javascript_ and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
>
http://p.sf.net/sfu/learnnow-d2d
> --
>
https://lists.sourceforge.net/lists/listinfo/alleg-developers