Skip to content

Commit e9e7587

Browse files
committed
[css-values-4] Handle the rest of the pow() special-cases.
1 parent e659d47 commit e9e7587

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

css-values-4/Overview.bs

+14-1
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,20 @@ Exponential Functions: ''pow()'', ''sqrt()'', ''hypot()''</h3>
27062706
<h4 id="exponent-infinities">
27072707
Argument Ranges</h4>
27082708

2709-
In ''pow(A, B)'':
2709+
In ''pow(A, B)'',
2710+
if A is negative,
2711+
B must be an integer,
2712+
or else the result is NaN.
2713+
2714+
If A and B are both 0,
2715+
the result is 1.
2716+
If A is 0⁺ and B is negative,
2717+
the result is +∞;
2718+
if A is 0⁻ and B is negative,
2719+
the result is -∞.
2720+
2721+
If A or B is infinite,
2722+
the following tables give the results:
27102723

27112724
<table class=data>
27122725
<thead>

0 commit comments

Comments
 (0)