Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Beniston <jon@beniston.com>2018-09-01 01:10:00 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-09-03 10:41:26 +0300
commit86c31ae47b1a17e8d79968af2874b2a89b4326c5 (patch)
tree792af036fdf837c464549ecdd5c18b5620cf46d5
parentfcc1e7039f92509ccca895432844dc26a2366671 (diff)
math_config.h: Fix signed overflow warning for 16-bit targetscygwin-2_11_1-release
-rw-r--r--newlib/libm/common/math_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/math_config.h b/newlib/libm/common/math_config.h
index f28c52b00..dcbc61ae2 100644
--- a/newlib/libm/common/math_config.h
+++ b/newlib/libm/common/math_config.h
@@ -155,7 +155,7 @@ issignalingf_inline (float x)
uint32_t ix = asuint (x);
if (!IEEE_754_2008_SNAN)
return (ix & 0x7fc00000) == 0x7fc00000;
- return 2 * (ix ^ 0x00400000) > 2u * 0x7fc00000;
+ return 2 * (ix ^ 0x00400000) > 0xFF800000u;
}
static inline int