Lines Matching refs:uint32
42 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x);
44 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
184 : lo_(lo), range_(static_cast<uint32>(hi) - static_cast<uint32>(lo)) {} in UniformDistribution()
201 uint32 range_;
317 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1);
320 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1);
472 const uint32 x0 = (*gen)(); in operator()
473 const uint32 x1 = (*gen)(); in operator()
513 const uint32 x0 = (*gen)(); in operator()
514 const uint32 x1 = (*gen)(); in operator()
555 const uint32 x0 = (*gen)(); in operator()
556 const uint32 x1 = (*gen)(); in operator()
594 const uint32 x0 = (*gen)(); in operator()
595 const uint32 x1 = (*gen)(); in operator()
596 const uint32 x2 = (*gen)(); in operator()
597 const uint32 x3 = (*gen)(); in operator()
616 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1) { in BoxMullerFloat()
641 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1) { in BoxMullerDouble()
702 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x) { in Uint32ToFloat()
709 const uint32 man = x & 0x7fffffu; // 23 bit mantissa in Uint32ToFloat()
710 const uint32 exp = static_cast<uint32>(127); in Uint32ToFloat()
711 const uint32 val = (exp << 23) | man; in Uint32ToFloat()
720 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1) { in Uint64ToDouble()
727 const uint32 mhi = x0 & 0xfffffu; // upper 20 bits of mantissa in Uint64ToDouble()
728 const uint32 mlo = x1; // lower 32 bits of mantissa in Uint64ToDouble()