/haiku-fatelf/src/add-ons/translators/exr/openexr/half/ |
H A D | half.h | 41 // half -- a 16-bit floating point number class: 43 // Type half can represent positive and negative numbers whose 49 // Type half behaves (almost) like the built-in C++ floating point 50 // types. In arithmetic expressions, half, float and double can be 53 // half a (3.5); 59 // Conversions from half to float are lossless; all half numbers 62 // Conversions from float to half may not preserve the float's 63 // value exactly. If a float is not representable as a half, the 64 // float value is rounded to the nearest representable half 90 class half class 435 half::half () function in class:half 446 half::half (float f) function in class:half [all...] |
H A D | halfLimits.h | 47 // C++ standard library-style numeric_limits for class half 52 #include "half.h" 57 class numeric_limits <half> 63 static half min () throw () {return HALF_NRM_MIN;} 64 static half max () throw () {return HALF_MAX;} 72 static half epsilon () throw () {return HALF_EPSILON;} 73 static half round_error () throw () {return HALF_EPSILON / 2;} 85 static half infinity () throw () {return half::posInf();} 86 static half quiet_Na [all...] |
H A D | halfFunction.h | 43 // of half --> T functions 53 // evaluates the function for all finite half values in the interval 55 // For finite half values that are not in [domainMin, domainMax], the 61 // half values by calling the the halfFunction object's operator() 69 // halfFunction<half> hsin (sin); 71 // halfFunction<half> hsqrt (sqrt, // function 73 // half::qNan(), // sqrt(x) for x < 0 74 // half::posInf(), // sqrt(+inf) 75 // half::qNan(), // sqrt(-inf) 76 // half [all...] |
H A D | half.cpp | 42 // class half -- 48 #include "half.h" 53 // Lookup tables for half-to-float and float-to-half conversion 57 __declspec(dllexport) half::uif _toFloat[1 << 16] = 62 const half::uif half::_toFloat[1 << 16] = 64 const unsigned short half::_eLut[1 << 9] = 69 // Overflow handler for float-to-half conversion; 75 half [all...] |
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/ |
H A D | ImfConvert.h | 49 #include "half.h" 55 // Conversion from half or float to unsigned int: 73 unsigned int halfToUint (half h); 78 // Conversion from unsigned int or float to half: 83 // finite, closest possible half 98 half uintToHalf (unsigned int ui); 99 half floatToHalf (float f);
|
H A D | ImfLut.h | 43 // of half --> half functions to pixel data, 56 // Lookup table for individual half channels. 75 void apply (half *data, 89 halfFunction <half> _lut; 129 halfFunction <half> _lut; 137 // Zero explicitly remains zero. The first non-zero half will map to 1 142 half round12log (half x); 154 half operato [all...] |
H A D | ImfRgba.h | 45 #include "half.h" 56 half r; 57 half g; 58 half b; 59 half a; 62 Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
|
H A D | ImfConvert.cpp | 88 halfToUint (half h) 113 half 117 return half::posInf(); 119 return half (ui); 123 half 129 return half::posInf(); 132 return half::negInf(); 135 return half (f);
|
H A D | ImfMisc.cpp | 74 size = Xdr::size <half> (); 221 half fillVal = half (fillValue); 225 *(half *) writePtr = fillVal; 278 half h; 308 *(half *) writePtr = uintToHalf (ui); 317 Xdr::read <CharPtrIO> (readPtr, *(half *) writePtr); 328 *(half *) writePtr = floatToHalf (f); 354 half h; 406 half [all...] |
H A D | b44ExpLogTable.cpp | 52 #include <half.h> 60 // Main - prints the half-to-float lookup table 85 half h; 114 half h;
|
H A D | ImfLut.cpp | 40 // of half --> half functions to pixel data, 53 HalfLut::apply (half *data, int nData, int stride) const 87 *(half *)pixel = _lut (*(half *)pixel); 152 half 153 round12log (half x)
|
H A D | ImfPxr24Compressor.cpp | 72 #include <half.h> 342 half pixel; 344 pixel = *(const half *) inPtr; 345 inPtr += sizeof (half); 496 half * hPtr = (half *) writePtr; 498 writePtr += sizeof (half);
|
/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/ |
H A D | e_coshf.c | 25 static const float one = 1.0, half=0.5; variable 27 static float one = 1.0, half=0.5, huge = 1.0e30; variable 57 return half*t+half/t; 60 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */ 61 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x)); 65 w = __ieee754_expf(half*fabsf(x)); 66 t = half*w;
|
H A D | e_cosh.c | 42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 44 static double one = 1.0, half=0.5, huge = 1.0e300; variable 76 return half*t+half/t; 79 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */ 80 if (ix < 0x40862e42) return half*__ieee754_exp(fabs(x)); 85 w = __ieee754_exp(half*fabs(x)); 86 t = half*w;
|
H A D | e_coshl.c | 41 static const long double one = 1.0, half=0.5, huge = 1.0e4900L; variable 43 static long double one = 1.0, half=0.5, huge = 1.0e4900L; variable 75 return half*t+half/t; 78 /* |x| in [22, ln(maxdouble)] return half*exp(|x|) */ 80 return half*__ieee754_expl(fabsl(x)); 86 w = __ieee754_expl(half*fabsl(x)); 87 t = half*w;
|
H A D | k_sinf.c | 28 half = 5.0000000000e-01,/* 0x3f000000 */ variable 53 else return x-((z*(half*y-v*r)-y)-v*S1);
|
H A D | mpexp.h | 87 /**/ half = {{0x3fe00000, 0x00000000} }; /* 1/2 */ variable 146 /**/ half = {{0x00000000, 0x3fe00000} }; /* 1/2 */ variable 156 #define HALF half.d
|
H A D | e_lgammal_r.c | 102 half = 0.5L, variable 268 y = __cosl (pi * (half - y)); 389 r += half * y + y * p1/p2; 400 r += (-half * y + p1 / p2); 412 r = half * y + p / q; 438 r = (x - half) * (t - one) + w;
|
/haiku-fatelf/src/add-ons/translators/exr/ |
H A D | EXRGamma.h | 21 float operator() (half h);
|
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/ |
H A D | ImathHalfLimits.h | 42 // Imath-style limits for class half. 47 #include "half.h" 53 struct limits <half>
|
/haiku-fatelf/src/system/libroot/posix/glibc/arch/x86/ |
H A D | e_atanh.S | 30 ASM_TYPE_DIRECTIVE(half,@object) 31 half: .double 0.5 label 32 ASM_SIZE_DIRECTIVE(half) 70 fcoml MO(half) // |x| : 0.5*ln2
|
H A D | e_atanhf.S | 30 ASM_TYPE_DIRECTIVE(half,@object) 31 half: .double 0.5 label 32 ASM_SIZE_DIRECTIVE(half) 70 fcoml MO(half) // |x| : 0.5*ln2
|
H A D | e_atanhl.S | 33 ASM_TYPE_DIRECTIVE(half,@object) 34 half: .double 0.5 label 35 ASM_SIZE_DIRECTIVE(half) 77 fcoml MO(half) // |x| : 0.5*ln2
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | block.c | 78 int bot, top, half; local 100 half = (top - bot + 1) >> 1; 101 b = BLOCKVECTOR_BLOCK (bl, bot + half); 103 bot += half; 105 top = bot + half;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/ |
H A D | bfs_attribute_iterator_test.cpp | 255 int32 half = count / 2; local 258 half & 1 ? half - 1 : half + 1, half - 2, half + 2);
|