RE: Range of 32 bit values
RE: Range of 32 bit values
- Subject: RE: Range of 32 bit values
- From: "MacArthur, Ian (SELEX) (UK)" <email@hidden>
- Date: Mon, 9 Apr 2007 09:03:42 +0100
- Thread-topic: Range of 32 bit values
I said:
> > Might I suggest you call fmod() before your cast?
> >
Mark replied:
> IIRC, the behavior of fmod() with negative arguments is
> processor-dependant.
Should not be - fmod(x,y) is ansi, and the sign of the return should
match the sign of x, IIRC.
fmodf() if not ansi, but even then the behaviour is (in all cases I have
come across) what you would expect by extension from fmod().
SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden