Skip to content

Commit 487c2e1

Browse files
committed
[css-values] Clarify that sqrt() and pow(X, .5) aren't *exactly* equivalent, in the case of -Infinity. JS is weird.
1 parent 06ade60 commit 487c2e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-values-4/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2760,7 +2760,8 @@ Exponential Functions: ''pow()'', ''sqrt()'', ''hypot()''</h3>
27602760
which must resolve to a <<number>>,
27612761
and returns the square root of the value
27622762
as a <<number>>.
2763-
(''sqrt(X)'' and ''pow(X, .5)'' are equivalent;
2763+
(''sqrt(X)'' and ''pow(X, .5)'' are basically equivalent,
2764+
differing only in some error-handling;
27642765
''sqrt()'' is a common enough function
27652766
that it is provided as a convenience.)
27662767

0 commit comments

Comments
 (0)