Floating-point to integer conversion

David G. Hough on validgh uunet!validgh.com!dgh
Thu Jun 10 14:20:29 PDT 1993


> Such conversions are machine
   dependent; for example, the direction of truncation of negative
   numbers varies from machine to machine."

This sounds like
a serious mistake in C++ - adding an implementation freedom to C++
that never existed in C, confers no implementation benefit on any system
I've ever used, and degrades portability of programs.



More information about the Numeric-interest mailing list