File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,11 +236,11 @@ extern "C" {
236236 * result.
237237 * Caution:
238238 * This isn't reliable. C99 no longer requires libm to set errno under
239- * any exceptional condition, but does require +- HUGE_VAL return
240- * values on overflow. A 754 box *probably* maps HUGE_VAL to a
241- * double infinity, and we're cool if that's so, unless the input
242- * was an infinity and an infinity is the expected result. A C89
243- * system sets errno to ERANGE, so we check for that too. We're
239+ * any exceptional condition, but does require +- HUGE_VAL return
240+ * values on overflow. A 754 box *probably* maps HUGE_VAL to a
241+ * double infinity, and we're cool if that's so, unless the input
242+ * was an infinity and an infinity is the expected result. A C89
243+ * system sets errno to ERANGE, so we check for that too. We're
244244 * out of luck if a C99 754 box doesn't map HUGE_VAL to +Inf, or
245245 * if the returned result is a NaN, or if a C89 box returns HUGE_VAL
246246 * in non-overflow cases.
You can’t perform that action at this time.
0 commit comments