You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<IntrinsicName="sign_bit"Expression="(unsigned __int16) (bits & sign_mask())" />
41
+
<IntrinsicName="exponent_bits"Expression="(unsigned __int16) (bits & exponent_mask())" />
42
+
<IntrinsicName="significand_bits"Expression="(unsigned __int16) (bits & significand_mask())" />
43
+
44
+
<IntrinsicName="if_set"Expression="(bits & mask) != 0 ? value : 1.0">
45
+
<ParameterName="mask"Type="unsigned __int16" />
46
+
<ParameterName="value"Type="float" />
47
+
</Intrinsic>
48
+
<!-- Calculates 2**exp without needing a pow function. Each float in if_set() is the square of the previous float. 32768 == 2.pow(bias), bias == 15 -->
0 commit comments