[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: math.atan2() return to standard build ?
- From: Charles Heywood <vandor2012@...>
- Date: Tue, 21 Feb 2017 06:09:45 +0000
There are compatibility libraries to add/patch these functions back in.
2017-02-21 2:08 GMT+02:00 Tim Hill <firstname.lastname@example.org>:
> However, this left me wondering if perhaps the removal of math.atan2()
> was such a good idea, given Lua’s popularity in game engines. I really
> hate writing a library that depends on a function that I can’t guarantee
> will be in a distro. Yes, the hyberbolics are probably esoteric enough to
> be moved out, but perhaps math.atan2() should be re-examined for
> inclusion in the standard build again?
I'd like them all back. A function that is on any high school mathematics
calculator is not esoteric.
There used to be an argument about C89 not having them, but the most
recent Lua builds under "make linux" all say "-std=gnu99".