https://issues.dlang.org/show_bug.cgi?id=16026
thomas.bock...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|nob...@puremagic.com |thomas.bock...@gmail.com --- Comment #2 from thomas.bock...@gmail.com --- > Before it did the operation at real precision, then down casted. The function is bugged. I did a straightforward rewrite of frexp() just based on the docs, and my version produces the expected answer without any need for extra precision. However, my rewrite depends upon a revised version of my floating-point decomposition union type, so fixing #16026 will have to wait until after the union itself gets accepted into std.math or std.bitmanip. (And that, in turn, may have to wait until I get a newly discovered DMD codegen bug fixed.) --