-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Labels
css-values-4Current WorkCurrent Work
Description
From https://drafts.csswg.org/css-values-4/#funcdef-hypot,
The
hypot(A,B)function contains two comma-separated calculations A and B, and returns the length of the hypotenuse of a right-angled triangle with legs equal to A and B.
I would like to generalize this to the euclidean norm like in JS Math.hypot. Then
hypot(A)would be the absolute value of Ahypot(A, B)would be the hypotenuse of a right-angled triangle with legs equal to A and B.hypot(A, B, C)would be the length of the space diagonal of a rectangular cuboid with edge lengths A, B and C.- and possibly more (though maybe not as useful as the previous cases).
Crissov
Metadata
Metadata
Assignees
Labels
css-values-4Current WorkCurrent Work