When will you implement cent and ucent?

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Mar 29 17:44:43 UTC 2022


On Tue, Mar 29, 2022 at 05:25:39PM +0000, 12345swordy via Digitalmars-d wrote:
> On Tuesday, 29 March 2022 at 15:23:45 UTC, H. S. Teoh wrote:
[...]
> > I think you got that wrong, floating is precisely designed for such
> > comparisons. You can easily compare 1e+1000 with 1e-1000 without running
> > into problems.
[...]
> Where did you get the 1e+1000 number from? That is way bigger then the
> official max size of double.
[...]

Oops, meant to write ±300, not ±1000. :-O  The ±1000 is for the binary
representation, not for decimal.


T

-- 
There are three kinds of people in the world: those who can count, and those who can't.


More information about the Digitalmars-d mailing list