mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
add a few const qualifier
This commit is contained in:
@@ -91,7 +91,7 @@ typedef short mrb_sym;
|
||||
# define PRIo64 "I64o"
|
||||
# define PRIx64 "I64x"
|
||||
# define PRIX64 "I64X"
|
||||
static unsigned int IEEE754_INFINITY_BITS_SINGLE = 0x7F800000;
|
||||
static const unsigned int IEEE754_INFINITY_BITS_SINGLE = 0x7F800000;
|
||||
# define INFINITY (*(float *)&IEEE754_INFINITY_BITS_SINGLE)
|
||||
# define NAN ((float)(INFINITY - INFINITY))
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user