mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Express the number of ULPs in fpaccuracy metadata as a real rather than a
rational number, eg as 2.5 rather than 5, 2. OK'd by Peter Collingbourne. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3021,13 +3021,13 @@ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
|
||||
|
||||
</blockquote>
|
||||
|
||||
<p>The maximum relative error may be any rational number. The metadata node
|
||||
shall consist of a pair of unsigned integers respectively representing
|
||||
the numerator and denominator. For example, 2.5 ULP:</p>
|
||||
<p>The metadata node shall consist of a single non-negative floating
|
||||
point number representing the maximum relative error. For example,
|
||||
2.5 ULP:</p>
|
||||
|
||||
<div class="doc_code">
|
||||
<pre>
|
||||
!0 = metadata !{ i32 5, i32 2 }
|
||||
!0 = metadata !{ float 2.5 }
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user