From cb75731bf481a109d4706fc602cc233007843457 Mon Sep 17 00:00:00 2001
From: Jeff Cohen
Date: Sun, 22 Apr 2007 14:56:37 +0000
Subject: [PATCH] Undo erroneous corrections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36340 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 655738ccd68..2fb27f6384a 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1396,12 +1396,12 @@ following is the syntax for constant expressions:
uitofp ( CST to TYPE )
Convert an unsigned integer constant to the corresponding floating point
constant. TYPE must be floating point. CST must be of integer type. If the
- value won't fit in the floating point type, precision may be lost.
+ value won't fit in the floating point type, the results are undefined.
sitofp ( CST to TYPE )
Convert a signed integer constant to the corresponding floating point
constant. TYPE must be floating point. CST must be of integer type. If the
- value won't fit in the floating point type, precision may be lost.
+ value won't fit in the floating point type, the results are undefined.
ptrtoint ( CST to TYPE )
Convert a pointer typed constant to the corresponding integer constant
@@ -3069,7 +3069,7 @@ be a floating point type.
Semantics:
The 'uitofp' instruction interprets its operand as an unsigned
integer quantity and converts it to the corresponding floating point value. If
-the value cannot fit in the floating point value, precision may be lost.
+the value cannot fit in the floating point value, the results are undefined.
Example:
@@ -3102,7 +3102,7 @@ a floating point type.
Semantics:
The 'sitofp' instruction interprets its operand as a signed
integer quantity and converts it to the corresponding floating point value. If
-the value cannot fit in the floating point value, precision may be lost.
+the value cannot fit in the floating point value, the results are undefined.
Example: