d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Intrinsic Functions Approximations? > E^x, Cos(x), Etc...
Add Reply New Topic New Poll
Member
Posts: 10,365
Joined: Aug 5 2007
Gold: 0.00
Sep 25 2012 12:49pm
Do you guys know of any codes that are nearly as good as intrinsic functions of certain compilers, i.e, c or FORTRAN? I would like to take a look to see how they are handled.
Member
Posts: 30,717
Joined: Sep 19 2007
Gold: 254.00
Sep 25 2012 08:14pm
https://github.com/D-Programming-Language/phobos/blob/master/std/math.d

D

unfortunately there's quite a bit of inline assembly lol, but hopefully this helps
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll