--- Comment #4 from Andrei Alexandrescu <>  2009-07-21 
20:15:20 PDT ---
(In reply to comment #3)
> Couldn't you just stick an assert in there to make sure it doesn't wrap 
> around?
>  I haven't tested, but I would think that even in debug mode, this would be
> faster than using the float version.

1. Please test. What powers are you looking at? For most bases and most
exponents the result will go off range.

2. I prefer returning a floating point number instead of attempting to return
an integer and failing dynamically, all for a doubtful speed benefit.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to