[Info-vax] New VSI Roadmap (yipee!)
lists at openmailbox.org
lists at openmailbox.org
Mon Mar 2 05:14:09 EST 2015
On Mon, 02 Mar 2015 17:31:46 +0800
Richard Maher via Info-vax <info-vax at rbnsn.com> wrote:
> On 3/2/2015 11:09 AM, David Froble wrote:
> >
> > Regardless, what's a language doing, not having a rounding function?
>
> Why is any serious commercial programmer implementing money as a
> floating-point datatype?
Agreed 100%. This gets you a nice lawsuit in some of the places I worked.
> If your languages does not support scaled integers then toss it out and
> user the right tool for the job. Heard the same bullshit from C and
> Pascal programmers for too long.
IBM has had a data type just for this since 1964, possibly earlier. Intel
had one, sortof, but they got rid of it in 64 bit mode which seems to just
encourage people to use floating point when they should be using a native
decimal type or barring that, integers.
No wonder all the money has stayed on IBM machines.
More information about the Info-vax
mailing list