/titanic_50/usr/src/common/crypto/ecc/ |
H A D | ec2_163.c | 64 mp_digit *u, z; in ec_GF2m_163_mod() local 77 z = u[5]; in ec_GF2m_163_mod() 78 u[2] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod() 79 z = u[4]; in ec_GF2m_163_mod() 80 u[2] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod() 81 u[1] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod() 82 z = u[3]; in ec_GF2m_163_mod() 83 u[1] ^= (z >> 28) ^ (z >> 29) ^ (z >> 32) ^ (z >> 35); in ec_GF2m_163_mod() 84 u[0] ^= (z << 36) ^ (z << 35) ^ (z << 32) ^ (z << 29); in ec_GF2m_163_mod() 85 z = u[2] >> 35; /* z only has 29 significant bits */ in ec_GF2m_163_mod() [all …]
|
H A D | ec2_233.c | 64 mp_digit *u, z; in ec_GF2m_233_mod() local 77 z = u[7]; in ec_GF2m_233_mod() 78 u[4] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod() 79 u[3] ^= (z << 23); in ec_GF2m_233_mod() 80 z = u[6]; in ec_GF2m_233_mod() 81 u[4] ^= (z >> 31); in ec_GF2m_233_mod() 82 u[3] ^= (z << 33) ^ (z >> 41); in ec_GF2m_233_mod() 83 u[2] ^= (z << 23); in ec_GF2m_233_mod() 84 z = u[5]; in ec_GF2m_233_mod() 85 u[3] ^= (z >> 31); in ec_GF2m_233_mod() [all …]
|
H A D | ec2_193.c | 64 mp_digit *u, z; in ec_GF2m_193_mod() local 77 z = u[6]; in ec_GF2m_193_mod() 78 u[3] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod() 79 u[2] ^= (z << 63); in ec_GF2m_193_mod() 80 z = u[5]; in ec_GF2m_193_mod() 81 u[3] ^= (z >> 50); in ec_GF2m_193_mod() 82 u[2] ^= (z << 14) ^ (z >> 1); in ec_GF2m_193_mod() 83 u[1] ^= (z << 63); in ec_GF2m_193_mod() 84 z = u[4]; in ec_GF2m_193_mod() 85 u[2] ^= (z >> 50); in ec_GF2m_193_mod() [all …]
|
/titanic_50/usr/src/lib/libm/common/Q/ |
H A D | atanl.c | 113 long double y, z, r, p, s; in atanl() local 133 z = x * x; in atanl() 135 return (x + (x * z) * p1); in atanl() 137 return (x + (x * z) * (p1 + z * p2)); in atanl() 140 z = x * x; in atanl() 141 return (x + (x * z) * (p1 + z * (p2 + z * (p3 + z * (p4 + in atanl() 142 z * (p5 + z * (p6 + z * (p7 + z * (p8 + z * (p9 + in atanl() 143 z * (p10 + z * (p11 + z * (p12 + z * p13))))))))))))); in atanl() 151 z = r * r; in atanl() 155 y = r * (one + z * (p1 + z * (p2 + z * (p3 + in atanl() [all …]
|
H A D | __sincosl.c | 95 long double a1, a2, t, t1, t2, z, w; in __k_sincosl() local 108 z = x * x; in __k_sincosl() 111 *c = one + z * (qq1 + z * (qq2 + z * (qq3 + in __k_sincosl() 112 z * (qq4 + z * qq5)))); in __k_sincosl() 113 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + in __k_sincosl() 114 z * (p5 + z * p6))))); in __k_sincosl() 116 *c = one + z * (q1 + z * (q2 + z * (q3 + z * (q4 + in __k_sincosl() 117 z * (q5 + z * (q6 + z * (q7 + z * q8))))))); in __k_sincosl() 118 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 119 z * (p6 + z * (p7 + z * p8))))))); in __k_sincosl() [all …]
|
H A D | __tanl.c | 114 long double a, t, z, w = 0, s, c; in __k_tanl() local 127 z = x * x; in __k_tanl() 129 t = z * (t1 + z * (t2 + z * (t3 + z * t4))); in __k_tanl() 131 t = z * (t1 + z * (t2 + z * (t3 + z * (t4 + in __k_tanl() 132 z * (t5 + z * (t6 + z * (t7 + z * (t8 + in __k_tanl() 133 z * (t9 + z * (t10 + z * (t11 + in __k_tanl() 134 z * (t12 + z * t13)))))))))))); in __k_tanl() 148 z = x * x; in __k_tanl() 150 t = z * (qq1 + z * (qq2 + z * (qq3 + z * (qq4 + z * qq5)))); in __k_tanl() 152 s = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * pp5))))); in __k_tanl() [all …]
|
H A D | __cosl.c | 104 long double a, t, z, w; in __k_cosl() local 115 z = x * x; in __k_cosl() 118 return one + z * (qq1 + z * (qq2 + z * (qq3 + in __k_cosl() 119 z * (qq4 + z * qq5)))); in __k_cosl() 121 return one + z * (q1 + z * (q2 + z * (q3 + in __k_cosl() 122 z * (q4 + z * (q5 + z * (q6 + z * (q7 + in __k_cosl() 123 z * q8))))))); in __k_cosl() 133 z = x * x; in __k_cosl() 134 t = z * (qq1 + z * (qq2 + z * (qq3 + z * (qq4 + z * qq5)))); in __k_cosl() 135 w = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * pp5))))); in __k_cosl()
|
/titanic_50/usr/src/lib/libm/common/R/ |
H A D | besself.c | 271 double x, z, s, c, ss, cc, r, t, p0, q0; in __k_j0f() local 293 z = t * t; in __k_j0f() 294 p0 = (pr[0] + z * (pr[1] + z * (pr[2] + z * (pr[3] + in __k_j0f() 295 z * (pr[4] + z * (pr[5] + z * pr[6])))))) / in __k_j0f() 296 (ps[0] + z * (ps[1] + z * (ps[2] + z * (ps[3] + in __k_j0f() 297 z * (ps[4] + z * (ps[5] + z)))))); in __k_j0f() 298 q0 = ((qr[0] + z * (qr[1] + z * (qr[2] + z * (qr[3] + in __k_j0f() 299 z * (qr[4] + z * (qr[5] + z * qr[6])))))) / in __k_j0f() 300 (qs[0] + z * (qs[1] + z * (qs[2] + z * (qs[3] + in __k_j0f() 301 z * (qs[4] + z * (qs[5] + z))))))) * t; in __k_j0f() [all …]
|
H A D | sincosf.c | 98 double y, z, w; in sincosf() local 119 z = y * y; in sincosf() 120 *s = (float)((y * (S0 + z * S1)) * in sincosf() 121 (S2 + z * (S3 + z))); in sincosf() 122 *c = (float)(((C0 + z * C1) + (z * z) * C2) * in sincosf() 123 (C3 + z * (C4 + z))); in sincosf() 126 z = y * y; in sincosf() 127 *s = (float)(((C0 + z * C1) + (z * z) * C2) * in sincosf() 128 (C3 + z * (C4 + z))); in sincosf() 129 *c = (float)-((y * (S0 + z * S1)) * in sincosf() [all …]
|
H A D | tanf.c | 76 double y, z, w; in tanf() local 98 z = y * y; in tanf() 99 return ((float)(((P0 * y) * (P1 + z * (P2 + z)) * in tanf() 100 (P3 + z * (P4 + z))) * in tanf() 101 (P5 + z * (P6 + z * (P7 + z))))); in tanf() 109 z = (y * T0) * (T1 + y * y); in tanf() 110 return ((float)(-one / z)); in tanf() 112 z = y * y; in tanf() 113 w = ((P0 * y) * (P1 + z * (P2 + z)) * (P3 + z * (P4 + z))) * in tanf() 114 (P5 + z * (P6 + z * (P7 + z))); in tanf() [all …]
|
H A D | sinf.c | 76 double y, z, w; in sinf() local 95 z = y * y; in sinf() 96 return ((float)((y * (S0 + z * S1)) * in sinf() 97 (S2 + z * (S3 + z)))); in sinf() 100 z = y * y; in sinf() 101 return ((float)(((C0 + z * C1) + (z * z) * C2) * in sinf() 102 (C3 + z * (C4 + z)))); in sinf() 105 z = y * y; in sinf() 106 return ((float)-(((C0 + z * C1) + (z * z) * C2) * in sinf() 107 (C3 + z * (C4 + z)))); in sinf() [all …]
|
/titanic_50/usr/src/lib/libm/common/LD/ |
H A D | __sincosl.c | 95 long double a1, a2, t, t1, t2, z, w; in __k_sincosl() local 112 z = x * x; in __k_sincosl() 115 *c = one + z * (qq1 + z * (qq2 + z * (qq3 + z * (qq4 + in __k_sincosl() 116 z * qq5)))); in __k_sincosl() 117 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 118 z * p6))))); in __k_sincosl() 120 *c = one + z * (q1 + z * (q2 + z * (q3 + z * (q4 + z * in __k_sincosl() 121 (q5 + z * (q6 + z * (q7 + z * q8))))))); in __k_sincosl() 122 t = z * (p1 + z * (p2 + z * (p3 + z * (p4 + z * (p5 + in __k_sincosl() 123 z * (p6 + z * (p7 + z * p8))))))); in __k_sincosl() [all …]
|
H A D | __tanl.c | 114 long double a, t, z, w = 0.0, s, c; in __k_tanl() local 130 z = x * x; in __k_tanl() 132 t = z * (t1 + z * (t2 + z * (t3 + z * t4))); in __k_tanl() 134 t = z * (t1 + z * (t2 + z * (t3 + z * (t4 + in __k_tanl() 135 z * (t5 + z * (t6 + z * (t7 + z * in __k_tanl() 136 (t8 + z * (t9 + z * (t10 + z * (t11 + in __k_tanl() 137 z * (t12 + z * t13)))))))))))); in __k_tanl() 155 z = x * x; in __k_tanl() 157 t = z * (qq1 + z * (qq2 + z * (qq3 + z * (qq4 + z * qq5)))); in __k_tanl() 159 s = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * in __k_tanl() [all …]
|
H A D | __cosl.c | 104 long double a, t, z, w; in __k_cosl() local 119 z = x * x; in __k_cosl() 122 return (one + z * (qq1 + z * (qq2 + z * (qq3 + z * in __k_cosl() 123 (qq4 + z * qq5))))); in __k_cosl() 125 return (one + z * (q1 + z * (q2 + z * (q3 + z * (q4 + in __k_cosl() 126 z * (q5 + z * (q6 + z * (q7 + z * q8)))))))); in __k_cosl() 140 z = x * x; in __k_cosl() 141 t = z * (qq1 + z * (qq2 + z * (qq3 + z * (qq4 + z * qq5)))); in __k_cosl() 142 w = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * in __k_cosl()
|
/titanic_50/usr/src/lib/libm/common/C/ |
H A D | acos.c | 98 double z, p, q, r, w, s, c, df; in acos() local 123 z = x * x; in acos() 124 p = z * (pS0 + z * (pS1 + z * (pS2 + z * (pS3 + in acos() 125 z * (pS4 + z * pS5))))); in acos() 126 q = one + z * (qS1 + z * (qS2 + z * (qS3 + z * qS4))); in acos() 131 z = (one + x) * 0.5; in acos() 132 p = z * (pS0 + z * (pS1 + z * (pS2 + z * (pS3 + in acos() 133 z * (pS4 + z * pS5))))); in acos() 134 q = one + z * (qS1 + z * (qS2 + z * (qS3 + z * qS4))); in acos() 135 s = sqrt(z); in acos() [all …]
|
H A D | atan.c | 127 double y, z, r, p, s; in atan() local 144 z = x * x; in atan() 146 return (x + (t3 + z) * (s * z)); in atan() 149 z = x * x; s = p1 * x; in atan() 150 return (x + ((s * z) * (p2 + z * (p3 + z))) * in atan() 151 (((p4 + z) + z * z) * (p5 + z * (p6 + z)))); in atan() 164 z = r * r; in atan() 166 return (y + ((p - r) - ((s * z) * in atan() 167 (p2 + z * (p3 + z))) * in atan() 168 (((p4 + z) + z * z) * in atan() [all …]
|
H A D | cos.c | 112 double z, y[2], w, s, v, p, q; in cos() local 124 z = x * x; in cos() 126 w = z * (QQ1 + z * QQ2); in cos() 128 w = z * ((Q1 + z * Q2) + (z * z) * (Q3 + z * Q4)); in cos() 149 z = x * x; in cos() 152 w = PIO2_L + (z * x) * (PP1 + z * PP2); in cos() 154 w = PIO2_L + (z * x) * ((P1 + z * P2) + in cos() 155 (z * z) * (P3 + z * P4)); in cos() 170 z = x * x; in cos() 173 w = (z * x) * (PP1 + z * PP2) - PI3O2_L; in cos() [all …]
|
H A D | sincos.c | 176 #define PoS(x, z) ((x * z) * (PP1 + z * PP2)) argument 177 #define PoL(x, z) ((x * z) * ((P1 + z * P2) + (z * z) * (P3 + z * P4))) argument 183 double z, y[2], w, t, v, p, q; in sincos() local 196 z = x * x; in sincos() 198 q = z * (QQ1 + z * QQ2); in sincos() 199 p = PoS(x, z); in sincos() 201 q = z * ((Q1 + z * Q2) + (z * z) * in sincos() 202 (Q3 + z * Q4)); in sincos() 203 p = PoL(x, z); in sincos() 219 z = _TBL_sincos[(j<<1)+1]; in sincos() [all …]
|
/titanic_50/usr/src/lib/libm/common/m9x/ |
H A D | tgammaf.c | 118 double z, r; in GT1() local 120 z = y * y; in GT1() 121 r = TZ1 * y + z * ((P10 + y * P11 + z * P12) + (z * y) * (P13 + y * in GT1() 122 P14 + z * P15)); in GT1() 129 double z; in GT2() local 131 z = y * y; in GT2() 132 return (GZ2 + z * ((P20 + y * P21 + z * P22) + (z * y) * (P23 + y * in GT2() 133 P24 + z * P25))); in GT2() 139 double z, r; in GT3() local 141 z = y * y; in GT3() [all …]
|
H A D | tgamma.c | 1151 double t3, t4, y, z; in GT1() local 1155 z = y * y; in GT1() 1156 t3 = (z * (P10 + y * ((P11 + y * P12) + z * (P13 + y * P14)))) / in GT1() 1157 (Q10 + y * ((Q11 + y * Q12) + z * ((Q13 + Q14 * y) + z * Q15))); in GT1() 1170 double t3, y, z; in GT2() local 1174 z = y * y; in GT2() 1175 t3 = (z * (P20 + y * P21 + z * (P22 + y * P23))) / in GT2() 1176 (Q20 + (y * ((Q21 + Q22 * y) + z * Q23) + in GT2() 1177 (z * z) * ((Q24 + Q25 * y) + z * Q26))) + GZ2_l; in GT2() 1187 double t3, t4, y, z; in GT3() local [all …]
|
/titanic_50/usr/src/lib/libsqlite/src/ |
H A D | util.c | 226 char *sqliteStrDup_(const char *z, char *zFile, int line){ in sqliteStrDup_() argument 228 if( z==0 ) return 0; in sqliteStrDup_() 229 zNew = sqliteMalloc_(strlen(z)+1, 0, zFile, line); in sqliteStrDup_() 230 if( zNew ) strcpy(zNew, z); in sqliteStrDup_() 233 char *sqliteStrNDup_(const char *z, int n, char *zFile, int line){ in sqliteStrNDup_() argument 235 if( z==0 ) return 0; in sqliteStrNDup_() 238 memcpy(zNew, z, n); in sqliteStrNDup_() 310 char *sqliteStrDup(const char *z){ in sqliteStrDup() argument 312 if( z==0 ) return 0; in sqliteStrDup() 313 zNew = sqliteMallocRaw(strlen(z)+1); in sqliteStrDup() [all …]
|
/titanic_50/usr/src/lib/libm/i386/src/ |
H A D | exp10f.s | 51 fmulp %st,%st(1) / z = x*log2(10) }NOT for xtndd_dbl 53 frndint / [z],z 54 fucom / z integral? 57 je .z_integral / branch if z integral 58 fxch / z, [z] 59 fsub %st(1),%st / z-[z], [z] 60 f2xm1 / 2**(z-[z])-1, [z] 61 fld1 / 1,2**(z-[z])-1, [z] 62 faddp %st,%st(1) / 2**(z-[z]), [z] 63 fscale / 2**z = 10**(arg), [z] [all …]
|
H A D | expm1f.s | 56 fmulp %st,%st(1) / z = x*log2e }not for xtndd_dbl 58 frndint / [z],z 62 je .z_integral / upon detection of integral z. 63 / [z] != 0, compute exp(x) and then subtract one to get expm1(x) 64 fxch / z,[z] 65 fsub %st(1),%st / z-[z],[z] 66 f2xm1 / 2**(z-[z])-1,[z] 71 fucom %st(2) / if -100 !< [z], then use -100 77 fstp %st(0) / 2**(z-[z])-1,max([z],-100) 78 fld1 / 1,2**(z-[z])-1,max([z],-100) [all …]
|
H A D | exp10.s | 53 fmulp %st,%st(1) / z = x*log2(10) }NOT for xtndd_dbl 55 frndint / [z],z 56 fucom / z integral? 59 je .z_integral / branch if z integral 60 fxch / z, [z] 61 fsub %st(1),%st / z-[z], [z] 62 f2xm1 / 2**(z-[z])-1, [z] 63 fld1 / 1,2**(z-[z])-1, [z] 64 faddp %st,%st(1) / 2**(z-[z]), [z] 65 fscale / 2**z = 10**(arg), [z] [all …]
|
/titanic_50/usr/src/lib/libast/common/uwin/ |
H A D | lgamma.c | 178 double z, p, x1; in large_lgam() local 193 z = x1*x1; in large_lgam() 194 p = pb0+z*(pb1+z*(pb2+z*(pb3+z*(pb4+z*(pb5+z*(pb6+z*pb7)))))); in large_lgam() 212 double y, z, t, r = 0, p, q, hi, lo; in small_lgam() local 223 z = t - x0_lo; in small_lgam() 224 p = r0+z*(r1+z*(r2+z*(r3+z*(r4+z*r5)))); in small_lgam() 225 q = s0+z*(s1+z*(s2+z*(s3+z*s4))); in small_lgam() 226 r = t*(z*(p/q) - x0_lo); in small_lgam() 228 z = 1.0; in small_lgam() 230 case 6: z = (y + 5); in small_lgam() [all …]
|