/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | k_cos.c | 53 * For better accuracy when x > 0.3, let qx = |x|/4 with 54 * the last 32 bits mask off, and if x > 0.78125, let qx = 0.28125. 56 * cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)). 57 * Note that 1-qx and (x*x/2-qx) is EXACT here, and the 84 double a,hz,z,r,qx; local 96 qx = 0.28125; 98 __HI(qx) = ix-0x00200000; /* x/4 */ 99 __LO(qx) [all...] |
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | ec2_aff.c | 70 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 85 MP_CHECKOK(mp_copy(qx, rx)); 91 if (ec_GF2m_pt_is_inf_aff(qx, qy) == 0) { 97 /* if px != qx, then lambda = (py+qy) / (px+qx), tempx = a + lambda^2 98 * + lambda + px + qx */ 99 if (mp_cmp(px, qx) != 0) { 101 MP_CHECKOK(group->meth->field_add(px, qx, &tempx, group->meth)); 112 field_add(&tempx, qx, &tempx, group->meth)); 114 /* if py != qy or qx 152 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 187 mp_int k, k3, qx, qy, sx, sy; local [all...] |
H A D | ecl.h | 73 const mp_int *py, mp_int *qx, mp_int *qy); 81 mp_int *qx, mp_int *qy);
|
H A D | ecp_aff.c | 76 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument 93 MP_CHECKOK(mp_copy(qx, rx)); 99 if (ec_GFp_pt_is_inf_aff(qx, qy) == 0) { 105 /* if px != qx, then lambda = (py-qy) / (px-qx) */ 106 if (mp_cmp(px, qx) != 0) { 108 MP_CHECKOK(group->meth->field_sub(px, qx, &tempx, group->meth)); 119 /* lambda = (3qx^2+a) / (2qy) */ 120 MP_CHECKOK(group->meth->field_sqr(qx, &tempx, group->meth)); 137 /* rx = lambda^2 - px - qx */ 162 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument 200 mp_int k, k3, qx, qy, sx, sy; local [all...] |
H A D | ec2.h | 49 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx, 52 const mp_int *qx, const mp_int *qy, mp_int *rx, 57 const mp_int *qx, const mp_int *qy, mp_int *rx, 106 * (qx, qy, qz). Uses projective coordinates. */ 108 const mp_int *pz, const mp_int *qx,
|
H A D | ecp.h | 49 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx, 52 const mp_int *qx, const mp_int *qy, mp_int *rx, 57 const mp_int *qx, const mp_int *qy, mp_int *rx, 97 * (qx, qy, qz). Uses Jacobian coordinates. */ 99 const mp_int *pz, const mp_int *qx,
|
H A D | ecp_jm.c | 120 * (qx, qy, 1). Elliptic curve points P, Q, and R can all be identical. 126 const mp_int *paz4, const mp_int *qx, 147 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group)); 154 if (ec_GFp_pt_is_inf_aff(qx, qy) == MP_YES) { 162 /* A = qx * pz^2, B = qy * pz^3 */ 165 MP_CHECKOK(group->meth->field_mul(A, qx, A, group->meth)); 125 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *paz4, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, mp_int *raz4, mp_int scratch[], const ECGroup *group) argument
|
H A D | ecl-priv.h | 187 const mp_int *qx, const mp_int *qy, mp_int *rx, 190 const mp_int *qx, const mp_int *qy, mp_int *rx,
|
H A D | ecp_jac.c | 137 * (qx, qy, 1). Elliptic curve points P, Q, and R can all be identical. 145 const mp_int *qx, const mp_int *qy, mp_int *rx, 167 MP_CHECKOK(ec_GFp_pt_aff2jac(qx, qy, rx, ry, rz, group)); 170 if (ec_GFp_pt_is_inf_aff(qx, qy) == MP_YES) { 177 /* A = qx * pz^2, B = qy * pz^3 */ 180 MP_CHECKOK(group->meth->field_mul(&A, qx, &A, group->meth)); 144 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | sharedRuntimeTrig.cpp | 642 * For better accuracy when x > 0.3, let qx = |x|/4 with 643 * the last 32 bits mask off, and if x > 0.78125, let qx = 0.28125. 645 * cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)). 646 * Note that 1-qx and (x*x/2-qx) is EXACT here, and the 661 double a,hz,z,r,qx; local 673 qx = 0.28125; 675 __HI(qx) = ix-0x00200000; /* x/4 */ 676 __LO(qx) [all...] |