comparison tango/tango/math/Math.d @ 164:a64becf2a702 trunk

[svn r180] Fixed complex negation, and tango.math.Math now compiles.
author lindquist
date Mon, 05 May 2008 20:28:59 +0200
parents 1700239cab2e
children
comparison
equal deleted inserted replaced
163:a8cd9bc1021a 164:a64becf2a702
367 */ 367 */
368 real tan(real x) 368 real tan(real x)
369 { 369 {
370 version (GNU) { 370 version (GNU) {
371 return tanl(x); 371 return tanl(x);
372 } else version (LLVMDC) {
373 return tango.stdc.math.tanl(x);
372 } else { 374 } else {
373 asm 375 asm
374 { 376 {
375 fld x[EBP] ; // load theta 377 fld x[EBP] ; // load theta
376 fxam ; // test for oddball values 378 fxam ; // test for oddball values