Submission Date: 2018-12-12
Document: WG14 N2321
Reference Documents: N2302
For most floating-point formats, nextafterl(1.L,2.L) is the normalized number whose value is 1.L+LDBL_EPSION. However, when long double is a pair of doubles, it is not clear what the standard requires (could be 1.L+LDBL_TRUE_MIN), what implementations do, and what users want. At least one implementation punted on this by not providing nextafterl; while they do provide nextafter and nextafterf
It seems that making nextafterl(1.L,2.L) be 1.L+LDBL_EPSION for all implementations would help with portability.
Add this paragraph:
§220.127.116.11 The nextafter functions, §18.104.22.168 The nexttoward functions, §7.12.? The nextup functions, and §7.12.? The nextdown functions in the Description section.