D.gnu - Missing std.math.rint()
- Piotr Fusik (3/3) Oct 26 2005 I have encountered a single problem when trying to compile
- David Friedman (11/16) Oct 26 2005 Make the following change to std/math.d.
I have encountered a single problem when trying to compile my D program with GDC: std.math.rint() is missing. What should I do with it?
Oct 26 2005
Piotr Fusik wrote:I have encountered a single problem when trying to compile my D program with GDC: std.math.rint() is missing. What should I do with it?Make the following change to std/math.d. --- math.d.orig Fri Jun 10 03:56:15 2005 +++ math.d Wed Oct 26 12:20:29 2005 -26,6 +26,8 alias gcc.config.fabsl fabs; alias gcc.config.cosl cos; alias gcc.config.sinl sin; + alias gcc.config.rintl rint; float sqrt(float x) { return gcc.config.sqrtf(x);
Oct 26 2005