www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

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

↑ ↓ ← 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
↑ ↓ → 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