Thread overview | |||||
---|---|---|---|---|---|
|
January 16, 2017 [Issue 3947] Implicit and explicit casting of floating point to bool produces different results | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3947 ZombineDev <petar.p.kirov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petar.p.kirov@gmail.com -- |
December 17, 2022 [Issue 3947] Implicit and explicit casting of floating point to bool produces different results | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3947 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
June 03 [Issue 3947] Implicit and explicit casting of floating point to bool produces different results | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3947 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #1 from Nick Treleaven <nick@geany.org> --- > - finite real numbers > -1 and < 1 are false That is not the case, at least for all compilers currently on run.dlang.io: static assert(cast(bool) 0.1f); Built-in complex numbers are now deprecated. -- |
Copyright © 1999-2021 by the D Language Foundation