%u: > Slightly related, do you have some code to convert a hex float string to > float?
This doesn't work, but it's supposed to work. Add this to bugzilla if it's not
already present:
import std.conv: to;
void main() {
auto r = to!real("0x1.0076fc5cc7933866p+40L");
auto d = to!double("0x1.0076fc5cc7933866p+40L");
auto f = to!float("0x1.0076fc5cc7933866p+40L");
}
> Regarding unit tests, I should really use them :(
Yep, and DbC too, and compile your D code with -w.
Bye,
bearophile
