Searched refs:exp_s (Results 1 - 6 of 6) sorted by relevance
/third_party/curl/tests/unit/ |
H A D | unit2603.c | 51 static void check_eq(const char *s, const char *exp_s, const char *name) in check_eq() argument 53 if(s && exp_s) { in check_eq() 54 if(strcmp(s, exp_s)) { in check_eq() 55 fprintf(stderr, "expected %s: '%s' but got '%s'\n", name, exp_s, s); in check_eq() 59 else if(!s && exp_s) { in check_eq() 60 fprintf(stderr, "expected %s: '%s' but got NULL\n", name, exp_s); in check_eq() 63 else if(s && !exp_s) { in check_eq()
|
/third_party/skia/third_party/externals/swiftshader/tests/MathUnitTests/ |
H A D | unittests.cpp | 74 const int exp_s = static_cast<int>((max_s < exp2(g_sharedexp_mantissabits)) ? exp_p : exp_p + 1); in RGB9E5_reference() local 76 unsigned int R = static_cast<unsigned int>(floor((red_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 77 unsigned int G = static_cast<unsigned int>(floor((green_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 78 unsigned int B = static_cast<unsigned int>(floor((blue_c / exp2(exp_s - g_sharedexp_bias - g_sharedexp_mantissabits)) + 0.5f)); in RGB9E5_reference() 79 unsigned int E = exp_s; in RGB9E5_reference()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | mathutil.cpp | 58 const int exp_s = in convertRGBFloatsTo999E5() local 60 const float pow2_exp = pow(2.0f, static_cast<float>(exp_s) - g_sharedexp_biased_mantissabits); in convertRGBFloatsTo999E5() 66 output.E = exp_s; in convertRGBFloatsTo999E5()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcInternalformatTests.cpp | 706 GLfloat exp_s; in convertUint_5_9_9_9_rev() local 709 exp_s = exp_p; in convertUint_5_9_9_9_rev() 711 exp_s = exp_p + 1; in convertUint_5_9_9_9_rev() 713 GLfloat red_s = deFloatFloor(red_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev() 714 GLfloat green_s = deFloatFloor(green_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev() 715 GLfloat blue_s = deFloatFloor(blue_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); in convertUint_5_9_9_9_rev() 720 GLuint c4 = (static_cast<GLuint>(exp_s)) & 31; in convertUint_5_9_9_9_rev()
|
H A D | glcPackedPixelsTests.cpp | 1430 GLfloat exp_s; 1433 exp_s = exp_p; 1435 exp_s = exp_p + 1; 1437 GLfloat red_s = deFloatFloor(red_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); 1438 GLfloat green_s = deFloatFloor(green_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); 1439 GLfloat blue_s = deFloatFloor(blue_c / deFloatPow(2.0f, exp_s - (float)B - (float)N) + 0.5f); 1444 GLuint c4 = (static_cast<GLuint>(exp_s)) & 31;
|
/third_party/vixl/test/aarch64/ |
H A D | test-assembler-sve-aarch64.cc | 4861 int exp_s[] = {0, -1, -1, -1073741824, 1073741823, 0, 100000000, -1}; 4868 IntBinArithHelper(config, fn, kSRegSize, pg_s, zn_s, zm_s, exp_s); 4983 int exp_s[] = {0, 1, -1, 2, 4992 IntBinArithHelper(config, fn, kSRegSize, pg_s, zn_s, zm_s, exp_s); 5018 unsigned exp_s[] = {0x00000000, 0x00000000, 0xffffffff, 0x40000000, 5027 IntBinArithHelper(config, fn, kSRegSize, pg_s, zn_s, zm_s, exp_s); 12419 uint32_t exp_s[] = {FloatToRawbits(0.1), 12438 exp_s);
|
Completed in 27 milliseconds