long double literals instead of doubles

Former-commit-id: 27eb992cbe68aef637a7f71bf2dd0f3431fb1439
This commit is contained in:
Marek Nečada 2020-05-19 15:52:47 +03:00
parent 43c2de4f35
commit 932f30e9f9
1 changed files with 6 additions and 3 deletions

View File

@ -9,13 +9,16 @@
#include <stdint.h>
#ifndef M_PI_2
#define M_PI_2 (1.570796326794896619231321691639751442098584699687552910487)
#define M_PI_2 (1.570796326794896619231321691639751442098584699687552910487L)
#endif
#ifndef M_PI
#define M_PI (3.14159265358979323846)
#define M_PI (3.14159265358979323846264338327950288419716939937510582097494L)
#endif
#ifndef M_SQRT2
#define M_SQRT2 (1.4142135623730950488)
#define M_SQRT2 (1.41421356237309504880168872420969807856967187537694807317668L)
#endif
#ifndef M_SQRTPI
#define M_SQRTPI (1.77245385090551602729816748334114518279754945612238712821381L)
#endif
// integer index types