Code speed
bearophile
bearophileHUGS at lycos.com
Wed Apr 14 02:29:02 PDT 2010
Don:
> That's not a bug. It's intentional. x ^^ y will probably always require
> import std.math, if y is a floating point number.
What's the rationale behind this decision?
I have filed it as a bug many days ago, because I think it's a wrong intention:
http://d.puremagic.com/issues/show_bug.cgi?id=3832
Having to import all names from the math module to use a built-in operator is unintuitive, not handy, and sounds silly.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list