Skip to content

Commit be13188

Browse files
committed
Changes from PR review
1 parent 9592e31 commit be13188

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

spec/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ <h4>Terminology</h4>
498498

499499
<ul>
500500
<li>
501-
<h4><a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a></h4>
501+
<a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>
502502
</li>
503503
<li>
504504
<a data-cite="RDF12-CONCEPTS#dfn-literal">literal</a>
@@ -5892,13 +5892,14 @@ <h5>sameValue</h5>
58925892
The <a href="#OperatorMapping">Operator Mapping</a> for "`=`"
58935893
is the function
58945894
<a data-cite="XPATH-FUNCTIONS-31#func-numeric-equal">`fn:numeric-equal`</a>
5895-
which returns `false` when comparing arguments involving `NaN`.
5896-
However, `sameTerm("NaN"^^xsd:double, "NaN"^^xsd:double)` is true;
5897-
`sameValue` treats "NaN"^^xsd:double as the "same value".
5895+
which is defined to return `false` when comparing arguments involving `NaN`.
5896+
However, `sameTerm("NaN"^^xsd:double, "NaN"^^xsd:double)` is true.
5897+
The function `sameValue` defines `sameValue("NaN"^^xsd:double, "NaN"^^xsd:double)`
5898+
to be true because the arguments are the same element of the value space.
58985899
</p>
58995900
<p>
5900-
`sameValue` treats "NaN"^^xsd:double and "NaN"^^xsd:float as the same value.
5901-
`sameValue("NaN"^^xsd:double, "NaN"^^xsd:float)` is `true`.
5901+
`sameValue` treats the values of `"NaN"^^xsd:double` and `"NaN"^^xsd:float` as being
5902+
the same. `sameValue("NaN"^^xsd:double, "NaN"^^xsd:float)` is `true`.
59025903
</p>
59035904
</div>
59045905
<p id="sameValue-zeros" class="note">

0 commit comments

Comments
 (0)