www.digitalmars.com         C & C++   DMDScript  

D.gnu - Missing std.math.rint()

reply Piotr Fusik <Piotr_member pathlink.com> writes:
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
parent David Friedman <d3rdclsmail_a t_earthlink_d.t_net> writes:
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