diff --git a/docs/LangRef.html b/docs/LangRef.html index 792a8b54664..79d6f8820c4 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1501,7 +1501,7 @@ following is the syntax for constant expressions:
- <result> = fp2uint <ty> <value> to <ty2> ; yields ty2 + <result> = fptoui <ty> <value> to <ty2> ; yields ty2
The 'fp2uint' converts a floating point value to its +
The 'fptoui' converts a floating point value to its unsigned integer equivalent of type ty2.
The 'fp2uint' instruction takes a value to cast, which must be a +
The 'fptoui' instruction takes a value to cast, which must be a floating point value, and a type to cast it to, which must be an integer type.
The 'fp2uint' instruction converts its +
The 'fptoui' instruction converts its floating point operand into the nearest (rounding towards zero) unsigned integer value. If the value cannot fit in ty2, the results are undefined.
@@ -3123,9 +3123,9 @@ If the value was non-zero, the i1 result will be true.- %X = fp2uint double 123.0 to i32 ; yields i32:123 - %Y = fp2uint float 1.0E+300 to i1 ; yields i1:true - %X = fp2uint float 1.04E+17 to i8 ; yields undefined:1 + %X = fptoui double 123.0 to i32 ; yields i32:123 + %Y = fptoui float 1.0E+300 to i1 ; yields i1:true + %X = fptoui float 1.04E+17 to i8 ; yields undefined:1