Re: [AD] float math function inconsistencies

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Well a lot of the ones I changed are double functions which are passed floats which then set a float value. So surely the precision would be lost in most cases?

It would be good to comment where double is necessary. Often it is important the order of float operations to try and maintain precision.


On 29 January 2013 20:46, Trent Gamblin <nooskewl@xxxxxxxxxx> wrote:
It definitely shouldn't be all double. In spots where it makes sense, sure, but not everywhere.

Trent

On 2013-01-29, at 1:36 PM, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
> Nah, I meant double. I remember we had to switch some internal parts of the primitives add-on to double to avoid glitches... so I just dislike float. I also think my version of chipmunk is all double... but may be wrong about that.
>
> On Jan 29, 2013 9:01 PM, "Evert Glebbeek" <eglebbk@xxxxxxxxxx> wrote:
> On 29 Jan 2013, at 20:24 , Nick Trout <chinbillybilbo@xxxxxxxxxx> wrote:
> > Really?! In favour of double?
>
> Elias should confirm, but in favour of integer arithmetic is what I think he meant.
>
> Evert

------------------------------------------------------------------------------
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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/