Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6897999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:14:26+00:00 2026-05-27T07:14:26+00:00

There are mathematical operations that yield real numbers from +/- infinity. For example exp(-infinity)

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:14:27+00:00Added an answer on May 27, 2026 at 7:14 am

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a function that expects real numbers (either integers or floats) as its
I have seen many recursive functions(mostly used in computing some mathematical operations e.g. factorial,
I am attempting to perform mathematical operations with JavaScript on values obtained from an
Is there any way to interpret Reverse Polish Notation into normal mathematical notation when
There is a conversion process that is needed when migrating Visual Studio 2005 web
I have a program that loads a file (anywhere from 10MB to 5GB) a
I recently inherited a small Java program that takes information from a large database,
I need to do some mathematics operations on sparse matrices. I noticed that using
How do I calculate the amount of steps there is from one field to
I would like to provide all mathematical functions for the number-like objects created by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.