You are a stupid programmer, you can't have that
bachmeier
no at spam.net
Mon Aug 9 19:01:18 UTC 2021
On Monday, 9 August 2021 at 17:03:57 UTC, H. S. Teoh wrote:
> Floating-point, if anything, is *more* complex and comes with
> more pitfalls than signed/unsigned mistakes. Worse yet, it
> *appears* to behave like what most people imagine real numbers
> to behave, but in fact doesn't, which makes mistakes more
> likely, and also harder to catch because they usually only crop
> up in special corner cases while generally appearing to work
> correctly.
There's an important difference though. Signed/unsigned mistakes
are a choice the programming language designer makes - Walter
made his choice and Gosling made a different choice. You're more
or less stuck with the limitations of floating point.
More information about the Digitalmars-d
mailing list