| OLD | NEW |
| 1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm). | 1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm). |
| 2 // | 2 // |
| 3 // ==================================================== | 3 // ==================================================== |
| 4 // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | 4 // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
| 5 // | 5 // |
| 6 // Developed at SunSoft, a Sun Microsystems, Inc. business. | 6 // Developed at SunSoft, a Sun Microsystems, Inc. business. |
| 7 // Permission to use, copy, modify, and distribute this | 7 // Permission to use, copy, modify, and distribute this |
| 8 // software is freely granted, provided that this notice | 8 // software is freely granted, provided that this notice |
| 9 // is preserved. | 9 // is preserved. |
| 10 // ==================================================== | 10 // ==================================================== |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 int nx = 3; | 283 int nx = 3; |
| 284 while (tx[nx - 1] == zero) nx--; | 284 while (tx[nx - 1] == zero) nx--; |
| 285 int n = __kernel_rem_pio2(tx, y, e0, nx); | 285 int n = __kernel_rem_pio2(tx, y, e0, nx); |
| 286 if (hx < 0) { | 286 if (hx < 0) { |
| 287 y[0] = -y[0]; | 287 y[0] = -y[0]; |
| 288 y[1] = -y[1]; | 288 y[1] = -y[1]; |
| 289 return -n; | 289 return -n; |
| 290 } | 290 } |
| 291 return n; | 291 return n; |
| 292 } | 292 } |
| 293 } | 293 } // namespace internal |
| 294 } // namespace v8::internal | 294 } // namespace v8 |
| OLD | NEW |