[Snek] [keith-packard/snek] f48b98: Cast M_PI to float when doing computations with it
Keith Packard
noreply at github.com
Fri Nov 29 11:34:50 PST 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: f48b9806f14f9e7a002d91c08ae767fd877f6e23
https://github.com/keith-packard/snek/commit/f48b9806f14f9e7a002d91c08ae767fd877f6e23
Author: Keith Packard <keithp at keithp.com>
Date: 2019-11-29 (Fri, 29 Nov 2019)
Changed paths:
M snek-math.c
Log Message:
-----------
Cast M_PI to float when doing computations with it
There doesn't appear to be a float version of M_PI, so
cast when using it in computations to avoid pulling in
double math code just for this.
Signed-off-by: Keith Packard <keithp at keithp.com>
More information about the Snek
mailing list