diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-07-03 13:33:49 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-07-03 13:33:49 +0000 |
commit | 373de65eb85a3ca3a1c1f24bba37e66b3786d26a (patch) | |
tree | 1d59edba1aec2bd5022c6cae2fa8a3f2d3cbb1be | |
parent | 1e60d459a5a427c88c2bed73d3bc7ea23a3618cf (diff) |
Swap bitmask values around so that STRTOG_Neg doesn't get affected
by the inexact values.
-rw-r--r-- | lib/libc/gdtoa/gdtoa.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gdtoa/gdtoa.h b/lib/libc/gdtoa/gdtoa.h index 9e06233f27b..9e1cea07cfd 100644 --- a/lib/libc/gdtoa/gdtoa.h +++ b/lib/libc/gdtoa/gdtoa.h @@ -76,12 +76,12 @@ typedef unsigned short UShort; /* The following may be or-ed into one of the above values. */ - STRTOG_Neg = 0x010, /* does not affect STRTOG_Inexlo or STRTOG_Inexhi */ - STRTOG_Inexlo = 0x020, /* returned result rounded toward zero */ - STRTOG_Inexhi = 0x030, /* returned result rounded away from zero */ - STRTOG_Inexact = 0x040, - STRTOG_Underflow= 0x080, - STRTOG_Overflow = 0x100 + STRTOG_Inexlo = 0x010, /* returned result rounded toward zero */ + STRTOG_Inexhi = 0x020, /* returned result rounded away from zero */ + STRTOG_Inexact = 0x030, + STRTOG_Underflow= 0x040, + STRTOG_Overflow = 0x080, + STRTOG_Neg = 0x100 /* does not affect STRTOG_Inexlo or STRTOG_Inexhi */ }; typedef struct |