mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08: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 |