diff options
author | stijn <stijn@ignitron.net> | 2020-03-31 14:48:08 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-18 22:42:24 +1000 |
commit | bcf01d1686a8fa6d257daea25ce0d7df6e4ad839 (patch) | |
tree | 2513c71e685ead21c6ca44a0432500ca75c424f8 /lib/libm/sf_frexp.c | |
parent | dc4d119d3d96799bf848c6488b2ac49b933ab7cb (diff) | |
download | micropython-bcf01d1686a8fa6d257daea25ce0d7df6e4ad839.tar.gz micropython-bcf01d1686a8fa6d257daea25ce0d7df6e4ad839.zip |
all: Fix implicit conversion from double to float.
These are found when building with -Wfloat-conversion.
Diffstat (limited to 'lib/libm/sf_frexp.c')
-rw-r--r-- | lib/libm/sf_frexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/sf_frexp.c b/lib/libm/sf_frexp.c index df50fb7737..378f21fb2f 100644 --- a/lib/libm/sf_frexp.c +++ b/lib/libm/sf_frexp.c @@ -29,7 +29,7 @@ static const float #else static float #endif -two25 = 3.3554432000e+07; /* 0x4c000000 */ +two25 = 3.3554432000e+07f; /* 0x4c000000 */ #ifdef __STDC__ float frexpf(float x, int *eptr) |