Skip to content

Commit

Permalink
[css-values-4] Make log/exp use the consistency terminology. #10017
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Mar 4, 2024
1 parent db89406 commit 9e9d30e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions css-values-4/Overview.bs
Expand Up @@ -3807,13 +3807,17 @@ Exponential Functions: ''pow()'', ''sqrt()'', ''hypot()'', ''log()'', ''exp()''
defaulting to e),
which must resolve to <<number>>s,
and returns the logarithm base B of the value A,
as a <<number>>.
as a <<number>>
with the return type [=made consistent=]
with the input [=calculation’s=] type.

The <dfn lt="exp()">exp(A)</dfn> function
contains one [=calculation=]
which must resolve to a <<number>>,
and returns the same value as ''pow(e, A)''
as a <<number>>.
as a <<number>>
with the return type [=made consistent=]
with the input [=calculation’s=] type.

<div class=example>
The ''pow()'' function can be useful for strategies like <a href="https://www.modularscale.com/">CSS Modular Scale</a>,
Expand Down

0 comments on commit 9e9d30e

Please sign in to comment.