Lines Matching refs:uint32
41 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x);
43 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1);
183 : lo_(lo), range_(static_cast<uint32>(hi) - static_cast<uint32>(lo)) {} in UniformDistribution()
200 uint32 range_;
316 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1);
319 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1);
471 const uint32 x0 = (*gen)(); in operator()
472 const uint32 x1 = (*gen)(); in operator()
512 const uint32 x0 = (*gen)(); in operator()
513 const uint32 x1 = (*gen)(); in operator()
554 const uint32 x0 = (*gen)(); in operator()
555 const uint32 x1 = (*gen)(); in operator()
593 const uint32 x0 = (*gen)(); in operator()
594 const uint32 x1 = (*gen)(); in operator()
595 const uint32 x2 = (*gen)(); in operator()
596 const uint32 x3 = (*gen)(); in operator()
615 void BoxMullerFloat(uint32 x0, uint32 x1, float* f0, float* f1) { in BoxMullerFloat()
640 void BoxMullerDouble(uint32 x0, uint32 x1, uint32 x2, uint32 x3, double* d0, double* d1) { in BoxMullerDouble()
701 PHILOX_DEVICE_INLINE float Uint32ToFloat(uint32 x) { in Uint32ToFloat()
708 const uint32 man = x & 0x7fffffu; // 23 bit mantissa in Uint32ToFloat()
709 const uint32 exp = static_cast<uint32>(127); in Uint32ToFloat()
710 const uint32 val = (exp << 23) | man; in Uint32ToFloat()
719 PHILOX_DEVICE_INLINE double Uint64ToDouble(uint32 x0, uint32 x1) { in Uint64ToDouble()
726 const uint32 mhi = x0 & 0xfffffu; // upper 20 bits of mantissa in Uint64ToDouble()
727 const uint32 mlo = x1; // lower 32 bits of mantissa in Uint64ToDouble()