History

Define LDBL_MAX_10_EXP for aarch64, riscv

There was a duplicate definition of LDBL_MAX_EXP, which this commit removes. There was a missing definition for LDBL_MAX_10_EXP, which this commit adds. I've confirmed the value of LDBL_MAX_10_EXP using gcc on an AARM64 Debian system (gcc 8.3.0). I've only indirectly confirmed the value on RISCV (using "#if ... #error" on godbolt.org). I'm reasonably sure this update is correct, but someone should confirm it before merging to "mob".

Keith Thompson committed 1 year ago

Commit b776bfa1 parent ea75d5c1 file · +1 −1Browse files

Unified · Split

include/float.h+1−1
@@ -53,7 +53,7 @@ · 52 unmodified lines
53#define LDBL_MIN_10_EXP (-4931)53#define LDBL_MIN_10_EXP (-4931)
54#define LDBL_MAX_EXP 1638454#define LDBL_MAX_EXP 16384
55#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L55#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
56#define LDBL_MAX_EXP 1638456#define LDBL_MAX_10_EXP 4932
57#define DECIMAL_DIG 3657#define DECIMAL_DIG 36
58 58
59#else59#else

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t