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:

Floating point extend a constant to another type. The size of CST must be smaller or equal to the size of TYPE. Both types must be floating point.
-
fp2uint ( CST to TYPE )
+
fptoui ( CST to TYPE )
Convert a floating point constant to the corresponding unsigned integer constant. TYPE must be an integer type. CST must be floating point. If the value won't fit in the integer type, the results are undefined.
@@ -3098,21 +3098,21 @@ used to make a no-op cast because it always changes bits. Use
Syntax:
-  <result> = fp2uint <ty> <value> to <ty2>             ; yields ty2
+  <result> = fptoui <ty> <value> to <ty2>             ; yields ty2
 
Overview:
-

The 'fp2uint' converts a floating point value to its +

The 'fptoui' converts a floating point value to its unsigned integer equivalent of type ty2.

Arguments:
-

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.

Semantics:
-

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.

Example:
-  %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