src/share/vm/runtime/sharedRuntimeTrig.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/runtime/sharedRuntimeTrig.cpp

src/share/vm/runtime/sharedRuntimeTrig.cpp

Print this page
rev 5732 : [mq]: comments2

*** 221,231 **** * * iq[] integer array by breaking up q[] in 24-bits chunk. * * fq[] final product of x*(2/pi) in fq[0],..,fq[jk] * ! * ih integer. If >0 it indicats q[] is >= 0.5, hence * it also indicates the *sign* of the result. * */ --- 221,231 ---- * * iq[] integer array by breaking up q[] in 24-bits chunk. * * fq[] final product of x*(2/pi) in fq[0],..,fq[jk] * ! * ih integer. If >0 it indicates q[] is >= 0.5, hence * it also indicates the *sign* of the result. * */
*** 345,355 **** /* chop off zero terms */ if(z==0.0) { jz -= 1; q0 -= 24; while(iq[jz]==0) { jz--; q0-=24;} ! } else { /* break z into 24-bit if neccessary */ z = scalbnA(z,-q0); if(z>=two24B) { fw = (double)((int)(twon24*z)); iq[jz] = (int)(z-two24B*fw); jz += 1; q0 += 24; --- 345,355 ---- /* chop off zero terms */ if(z==0.0) { jz -= 1; q0 -= 24; while(iq[jz]==0) { jz--; q0-=24;} ! } else { /* break z into 24-bit if necessary */ z = scalbnA(z,-q0); if(z>=two24B) { fw = (double)((int)(twon24*z)); iq[jz] = (int)(z-two24B*fw); jz += 1; q0 += 24;
*** 407,417 **** } /* * ==================================================== ! * Copyright (c) 1993 Oracle and/or its affilates. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. --- 407,417 ---- } /* * ==================================================== ! * Copyright (c) 1993 Oracle and/or its affiliates. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved.
src/share/vm/runtime/sharedRuntimeTrig.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File