On 14/04/10 20:54, Don wrote:
I have a vague recollection that correctly-rounded pow() will require bigint (can't quite remember, though). I'm also concerned about build tools -- I don't want them to have to know about the dependency. As a bare minimum, the error message will need to improve (with some explanation of why std.math is required, to reduce the WTF factor). But in any case, it's a very minor issue. Personally, I'm finding that having ^^ as standard nomenclature is extremely useful, even apart from the use in code.
I've always disliked the requirement to import std.math, but only because of it's lack of flexibility... Surely it would be better to require the pow() function to be defined somewhere, this way if/when tango is ported to D2 it doesn't have to hack around this to allow it to allow users to use ^^.
