Subject: Castings...
To: None <tech-kern@NetBSD.ORG>
From: Neil A. Carson <neil@causality.com>
List: tech-kern
Date: 10/08/1997 15:22:11
Hi all!
Situation:
1 Casting a negative floating point number to a unsigned integer
also
2 12 % -5 (both long longs)
Initially on the ARM we returned a NaN for the 1, (now zero) and the
present long long code returns -2 --- surely this should be 2, and a
remainder always be positive???
Input welcomed.
Cheers,
Neil
--
Neil A. Carson Marketing Director
E-mail: neil@causality.com Causality Limited (London, UK)
Mobile: +44 (0)370 593183 Tel/Fax: +44 (0)181 930 7408
Sent from a 233MHz StrongARM NC! Web: http://www.causality.com.