32#define FN_PROTOTYPE_REF FN_PROTOTYPE
33#define __amd_handle_error _handle_error
34#define __amd_ldexp OP_LDEXP
48 val.u32[1] =
val.u32[1] & 0x7fffffff;
50 if (
val.u64 > 0x7ff0000000000000)
55 if(!(
val.u64 & 0x0008000000000000))
62 if(
val.u64 == 0x7ff0000000000000)
65 if((
val.u64 == 0x0000000000000000) || (
n==0))
68 exponent =
val.u32[1] >> 20;
73 exponent =
val.u32[1] >> 20;
78 val.u32[0] = 0x00000000;
84 val.u32[0] = 0x00000000;
89 val.u32[1] =
sign | (exponent << 20) | (
val.u32[1] & 0x000fffff);
99 val.u32[0] = 0x00000000;
106 val.u32[1] =
sign | (exponent << 20) | (
val.u32[1] & 0x000fffff);
113 val.u32[1] =
sign | 0x7ff00000;
114 val.u32[0] = 0x00000000;
118 val.u32[1] =
sign | (exponent << 20) | (
val.u32[1] & 0x000fffff);
GLint GLint GLint GLint GLint x
double ldexp(double value, int exp)
#define __amd_handle_error
static const double VAL_2PMULTIPLIER_DP
static const double VAL_2PMMULTIPLIER_DP