[llvm-commits] [llvm] r144204 - /llvm/trunk/docs/LangRef.html

Bill Wendling isanbard at gmail.com
Wed Nov 9 11:33:57 PST 2011


Author: void
Date: Wed Nov  9 13:33:56 2011
New Revision: 144204

URL: http://llvm.org/viewvc/llvm-project?rev=144204&view=rev
Log:
Reformat the quote and tag the math stuff with <tt> tags.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=144204&r1=144203&r2=144204&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Wed Nov  9 13:33:56 2011
@@ -2976,12 +2976,15 @@
    point type.  It expresses the maximum relative error of the result of
    that instruction, in ULPs. ULP is defined as follows:</p>
 
-<blockquote><p>
-If x is a real number that lies between two finite consecutive floating-point
-numbers a and b, without being equal to one of them, then ulp(x) = |b - a|,
-otherwise ulp(x) is the distance between the two non-equal finite
-floating-point numbers nearest x. Moreover, ulp(NaN) is NaN.
-</p></blockquote>
+<blockquote>
+
+<p>If <tt>x</tt> is a real number that lies between two finite consecutive
+   floating-point numbers <tt>a</tt> and <tt>b</tt>, without being equal to one
+   of them, then <tt>ulp(x) = |b - a|</tt>, otherwise <tt>ulp(x)</tt> is the
+   distance between the two non-equal finite floating-point numbers nearest
+   <tt>x</tt>. Moreover, <tt>ulp(NaN)</tt> is <tt>NaN</tt>.</p>
+
+</blockquote>
 
 <p>The maximum relative error may be any rational number.  The metadata node
    shall consist of a pair of unsigned integers respectively representing





More information about the llvm-commits mailing list