mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 21:10:37 +00:00
12ee1407a1
Name the parameters used in `math` lib This is mainly done to highlight the particular confusion for `math.atan2`, where `y` comes before `x`, but this might not be immediately obvious. And then I added the rest of the names for consistency. Note: I didn't add names to `math.random` as it's currently typed as `(number?, number?) -> number`. Naming it `min` and `max` is technically incorrect for the 1 argument version. Maybe it should be typed as an intersection instead? |
||
---|---|---|
.. | ||
include/Luau | ||
src |