Mercurial > hg > truffle
diff src/share/vm/runtime/sharedRuntimeTrans.cpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | bdd155477289 |
children | 8a9bb7821e28 631c3a4ea10c |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntimeTrans.cpp Mon Mar 24 10:48:44 2014 -0700 +++ b/src/share/vm/runtime/sharedRuntimeTrans.cpp Wed Mar 26 18:21:05 2014 -0700 @@ -56,10 +56,12 @@ # define __LO(x) *(1+(int*)&x) #endif +#if !defined(AIX) double copysign(double x, double y) { __HI(x) = (__HI(x)&0x7fffffff)|(__HI(y)&0x80000000); return x; } +#endif /* * ==================================================== @@ -85,6 +87,7 @@ hugeX = 1.0e+300, tiny = 1.0e-300; +#if !defined(AIX) double scalbn (double x, int n) { int k,hx,lx; hx = __HI(x); @@ -111,6 +114,7 @@ __HI(x) = (hx&0x800fffff)|(k<<20); return x*twom54; } +#endif /* __ieee754_log(x) * Return the logrithm of x