Re: [AD] compare ALLEGRO_COLOR with memcmp

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


but his concern isn't with comparing first generation numbers.  its what happens when you compare first and twenty sixth.

I'm sure the interwebs can find some examples,  I know pentium1 cpu can!

On 07/06/2011 10:59 AM, "Trent Gamblin" <trent@xxxxxxxxxx> wrote:
> On 2011-06-06, at 6:54 PM, Evert Glebbeek wrote:
>> In general, you cannot make that assumption. The same sequence of floating point caculations may produce a different outcome the second time they are called. I've seen it happen, but only under specific circumstances in code that is numerically intense. It's also something that is very heavily dependent on compiler vendor, version and settings.
>
> Floating point calculations are standardized. Unless you change CPU/FPU settings, they're guaranteed to produce the same results.
>
> Trent
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers


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