[Issue 20146] Allow casting from std.bigint.BigInt to built-in floating point types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 20 18:35:06 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20146
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@n8sh created dlang/phobos pull request #7151 "std.bigint.BigInt: allow casting
to & comparison with floating point numbers" fixing this issue:
- Fix Issue 20146 - Allow casting from std.bigint.BigInt to built-in floating
point types
Fix Issue 20147 - Enable comparison (==, >, >=, <=, <) between
std.bigint.BigInt and floating point numbers
Limitation: casting to & comparison with quadruple precision floating
point numbers are not supported. The path for 80 bit extended floats
use std.math.scalbn which currently is impure and non-CTFE-able.
https://github.com/dlang/phobos/pull/7151
--
More information about the Digitalmars-d-bugs
mailing list