Searched defs:sgn (Results 1 - 13 of 13) sorted by relevance

/external/fdlibm/
H A De_jn.c60 int i,hx,ix,lx, sgn; local
79 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
211 if(sgn==1) return -b; else return b;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
H A DICUDurationTest.java84 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { argument
85 sign = sgn;
95 private ICUTestDuration(int sgn, Map<Field, Number> f) { argument
96 sign = sgn;
159 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { argument
160 return new ICUTestDuration(sgn, -1, -1, d, h, m, s);
162 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { argument
163 return new ICUTestDuration(sgn, -1, -1, -1, h, m, s);
165 private static final ICUTestDuration newDuration(int sgn, float s) { argument
166 return new ICUTestDuration(sgn,
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DICUDurationTest.java81 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { argument
82 sign = sgn;
92 private ICUTestDuration(int sgn, Map<Field, Number> f) { argument
93 sign = sgn;
156 private static final ICUTestDuration newDuration(int sgn, int d, int h, int m, float s) { argument
157 return new ICUTestDuration(sgn, -1, -1, d, h, m, s);
159 private static final ICUTestDuration newDuration(int sgn, int h, int m, float s) { argument
160 return new ICUTestDuration(sgn, -1, -1, -1, h, m, s);
162 private static final ICUTestDuration newDuration(int sgn, float s) { argument
163 return new ICUTestDuration(sgn,
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cc240 int sgn = 1; local
245 sgn = 1;
248 sgn = -1;
261 if (sgn > 0) {
/external/mesa3d/src/amd/common/
H A Dac_llvm_util.c389 LLVMValueRef sgn; local
405 sgn = LLVMBuildSelect(builder, is_ma_y, LLVMConstReal(f32, 1.0),
408 out_st[0] = LLVMBuildFMul(builder, tmp, sgn, "");
412 sgn = LLVMBuildSelect(builder, is_ma_y, LLVMBuildFNeg(builder, sgn_ma, ""),
414 out_st[1] = LLVMBuildFMul(builder, tmp, sgn, "");
419 sgn = LLVMBuildSelect(builder, is_ma_positive,
421 *out_ma = LLVMBuildFMul(builder, tmp, sgn, "");
/external/tensorflow/tensorflow/core/kernels/
H A Dtraining_ops.cc39 inline T sgn(const T x) { function in namespace:tensorflow::__anon26628
1010 sgn(prox_v) *
1507 sgn(prox_v) *
1804 var_flat(index) = sgn(-ga) * lr_scalar *
/external/eigen/unsupported/test/mpreal/
H A Dmpreal.h408 friend int sgn(const mpreal& v); // returns -1 or +1
1934 inline int sgn(const mpreal& op) function in namespace:mpfr
2435 m.setSign(sgn(y)); // make sure result has the same sign as Y
/external/webrtc/webrtc/modules/audio_processing/aecm/
H A Daecm_core_mips.c1544 int32_t tt, sgn; local
1546 sgn = ((int)tt) >> 31;
1547 out[0].real = sgn == (int16_t)(tt >> 15) ? (int16_t)tt : (16384 ^ sgn);
1549 sgn = ((int)tt) >> 31;
1550 out[0].imag = sgn == (int16_t)(tt >> 15) ? (int16_t)tt : (16384 ^ sgn);
1553 sgn = ((int)tt) >> 31;
1554 out[i].real = sgn == (int16_t)(tt >> 15) ? (int16_t)tt : (16384 ^ sgn);
[all...]
/external/pdfium/third_party/lcms/src/
H A Dcmscgats.c573 cmsInt32Number sgn; local
575 NextCh(it8); sgn = 1;
579 sgn = -1; NextCh(it8);
584 sgn = +1;
597 e = sgn*e;
648 int sgn; local
651 sgn = 1;
655 sgn = -1;
661 sgn = +1;
674 e = sgn*
[all...]
/external/swiftshader/src/Shader/
H A DShaderCore.cpp1428 void ShaderCore::sgn(Vector4f &dst, const Vector4f &src) function in class:sw::ShaderCore
1430 sgn(dst.x, src.x);
1431 sgn(dst.y, src.y);
1432 sgn(dst.z, src.z);
1433 sgn(dst.w, src.w);
1683 void ShaderCore::sgn(Float4 &dst, const Float4 &src) function in class:sw::ShaderCore
/external/compiler-rt/lib/msan/tests/
H A Dmsan_test.cc1809 int sgn; local
1810 double res = lgamma_r(1.1, &sgn);
1812 EXPECT_NOT_POISONED(sgn);
1816 int sgn; local
1817 float res = lgammaf_r(1.1, &sgn);
1819 EXPECT_NOT_POISONED(sgn);
1825 int sgn; local
1826 long double res = lgammal_r(1.1, &sgn);
1828 EXPECT_NOT_POISONED(sgn);
/external/sqlite/dist/orig/
H A Dsqlite3.c19723 int sgn = 0; local
19730 sgn = -1;
19732 sgn = +1;
19744 p->tz = sgn*(nMn + nHr*60);
[all...]
/external/sqlite/dist/
H A Dsqlite3.c19723 int sgn = 0; local
19730 sgn = -1;
19732 sgn = +1;
19744 p->tz = sgn*(nMn + nHr*60);
[all...]

Completed in 9102 milliseconds