Searched refs:CustomFloat (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
H A D | numeric.d | 112 template CustomFloat(uint bits) 115 alias CustomFloat = CustomFloat!(CustomFloatParams!(bits)); variable 119 template CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags = CustomFloatFlags.… 122 alias CustomFloat = CustomFloat!(CustomFloatParams!(precision, exponentWidth, flags)); variable 131 CustomFloat!16 x; // Using the number of bits 132 CustomFloat!(10, 5) y; // Using the precision and exponent width 133 …CustomFloat!(10, 5,CustomFloatFlags.ieee) z; // Using the precision, exponent width and fo… 134 …CustomFloat!(10, 5,CustomFloatFlags.ieee, 15) w; // Using the precision, exponent width, forma… 145 …alias Probability = CustomFloat!(4, 4, CustomFloatFlags.ieee^CustomFloatFlags.probability^CustomFl… 158 CustomFloat!(CustomFloatParams!(min(F.sizeof*8, 80))) get; [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
H A D | numeric.d | 115 template CustomFloat(uint bits) 118 alias CustomFloat = CustomFloat!(CustomFloatParams!(bits)); variable 122 template CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags = CustomFloatFlags.… 125 alias CustomFloat = CustomFloat!(CustomFloatParams!(precision, exponentWidth, flags)); variable 134 CustomFloat!16 x; // Using the number of bits 135 CustomFloat!(10, 5) y; // Using the precision and exponent width 136 …CustomFloat!(10, 5,CustomFloatFlags.ieee) z; // Using the precision, exponent width and fo… 137 …CustomFloat!(10, 5,CustomFloatFlags.ieee, 15) w; // Using the precision, exponent width, forma… 148 …alias Probability = CustomFloat!(4, 4, CustomFloatFlags.ieee^CustomFloatFlags.probability^CustomFl… 153 struct CustomFloat(uint precision, // fraction bits (23 for float) [all …]
|