js-slang icon indicating copy to clipboard operation
js-slang copied to clipboard

[math]: math_hypot should take any number of arguments

Open martin-henz opened this issue 2 years ago • 1 comments

Currently: math_hypot(3,4,5); Line 1: Expected 2 arguments, but got 3.

Specs: math_hypot() → {number} computes the square root of the sum of squares of its arguments. If no arguments are passed, the result is +0. Parameters: Name Type Description value1,value2,... number given numbers

Name Type Description
value1,value2,... number given numbers

martin-henz avatar Oct 05 '22 21:10 martin-henz

this issue persists as of today.

martin-henz avatar Mar 30 '24 09:03 martin-henz