diff options
| author | Paul Eggert | 2022-05-10 14:47:09 -0700 |
|---|---|---|
| committer | Paul Eggert | 2022-05-10 14:47:22 -0700 |
| commit | 4433df3b2015b3b1acd9d24bf7169c010fb51a05 (patch) | |
| tree | c08beeaa46b83210f2a0d4c89bd62e587cdb82da /src/floatfns.c | |
| parent | 203ffc68468abaccfed7e8ee630d9aa143ce5dbf (diff) | |
| download | emacs-4433df3b2015b3b1acd9d24bf7169c010fb51a05.tar.gz emacs-4433df3b2015b3b1acd9d24bf7169c010fb51a05.zip | |
* src/floatfns.c: Update comment.
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index f2b3b13acd8..293184c70f1 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -29,14 +29,20 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 29 | 29 | ||
| 30 | C99 and C11 require the following math.h functions in addition to | 30 | C99 and C11 require the following math.h functions in addition to |
| 31 | the C89 functions. Of these, Emacs currently exports only the | 31 | the C89 functions. Of these, Emacs currently exports only the |
| 32 | starred ones to Lisp, since we haven't found a use for the others: | 32 | starred ones to Lisp, since we haven't found a use for the others. |
| 33 | acosh, atanh, cbrt, *copysign, erf, erfc, exp2, expm1, fdim, fma, | 33 | Also, it uses the ones marked "+" internally: |
| 34 | fmax, fmin, fpclassify, hypot, ilogb, isfinite, isgreater, | 34 | acosh, atanh, cbrt, copysign (implemented by signbit), erf, erfc, |
| 35 | isgreaterequal, isinf, isless, islessequal, islessgreater, *isnan, | 35 | exp2, expm1, fdim, fma, fmax, fmin, fpclassify, hypot, +ilogb, |
| 36 | isnormal, isunordered, lgamma, log1p, *log2 [via (log X 2)], *logb | 36 | isfinite, isgreater, isgreaterequal, isinf, isless, islessequal, |
| 37 | (approximately), lrint/llrint, lround/llround, nan, nearbyint, | 37 | islessgreater, *isnan, isnormal, isunordered, lgamma, log1p, *log2 |
| 38 | nextafter, nexttoward, remainder, remquo, *rint, round, scalbln, | 38 | [via (log X 2)], logb (approximately; implemented by frexp), |
| 39 | scalbn, signbit, tgamma, *trunc. | 39 | +lrint/llrint, +lround/llround, nan, nearbyint, nextafter, |
| 40 | nexttoward, remainder, remquo, *rint, round, scalbln, +scalbn, | ||
| 41 | +signbit, tgamma, *trunc. | ||
| 42 | |||
| 43 | The C standard also requires functions for float and long double | ||
| 44 | that are not listed above. Of these functions, Emacs uses only the | ||
| 45 | following internally: fabsf, powf, sprintf. | ||
| 40 | */ | 46 | */ |
| 41 | 47 | ||
| 42 | #include <config.h> | 48 | #include <config.h> |