Summary: Lacking int, uint etc. versions of most std.math
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Peter Alexander <> 2010-10-01 
01:01:23 PDT ---
I noticed that sqrt(int), sqrt(uint) etc. were added to std.math in DMD 2.049
so that you don't have to cast to float or real to calculate simple things like

Is there any reason why integer versions haven't been added for other math
functions, like all the trig functions, the exp/log family etc.? These would be
useful for the very same reason, and inconsistency isn't very good for library

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

Reply via email to