There are mathematical operations that yield real numbers from +/- infinity. For example exp(-infinity) = 0
. Is there a standard for mathematical functions in the standard C
library that accept IEEE-754 infinities (without throwing, or returning NaN). I am on a linux system and would be interested in such a list for glibc
. I could not find such a list in their online manual. For instance their documentation on exp
does not mention how it handles the -infinity
case. Any help will be much appreciated.
Infinity is endless and therefore cannot be reached. Thus the expression "To infinity and beyond!" would simply represent limitless possibilities. Interesting(1) Confusing(3)
This line is spoken by Buzz Lightyear in the movie Toy Story (1995). Oh, Buzz—an eternal optimist. Buzz considers this his catchphrase…which it is, except that there happen to be a million Buzzes in toy stores around the world.
5.5 x 8.5 in. To Infinity and Beyond explores the idea of infinity in mathematics and art. Eli Maor examines the role of infinity, as well as its cultural impact on the arts and sciences.
The See Also section of POSIX' math.h definition links to the POSIX definitions of acceptable domains.
E.g. fabs()
:
If x is ±0, +0 shall be returned. If x is ±Inf, +Inf shall be returned.
I converted mentioned See Also-section to StackOverflow-Markdown:
acos(), acosh(), asin(), atan(), atan2(), cbrt(), ceil(), cos(), cosh(), erf(), exp(), expm1(), fabs(), floor(), fmod(), frexp(), hypot(), ilogb(), isnan(), j0(), ldexp(), lgamma(), log(), log10(), log1p(), logb(), modf(), nextafter(), pow(), remainder(), rint(), scalb(), sin(), sinh(), sqrt(), tan(), tanh(), y0(),
I contributed search/replace/regex-fu. We now just need someone with cURL-fu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With