Solved

Give examples of floating point arithmetic operations that would produce each of the exceptional values Inf and NaN.

Posted on 2008-09-30
3
1,209 Views
Last Modified: 2013-11-13
Give examples of floating point arithmetic operations that would produce each of the exceptional values: Inf and NaN.
0
Comment
Question by:panaz
  • 2
3 Comments
 
LVL 84

Expert Comment

by:ozo
Comment Utility
FLT_MAX*FLT_MAX
Inf - Inf
0
 

Author Comment

by:panaz
Comment Utility
is Inf defined in any header file?
0
 
LVL 84

Accepted Solution

by:
ozo earned 250 total points
Comment Utility
No, but it can be produced with FLT_MAX*FLT_MAX
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Before You Read The Article Please make sure you understand these two concepts: Variable Scope (http://www.php.net/manual/en/language.variables.scope.php) and Property Visibility (http://www.php.net/manual/en/language.oop5.visibility.php).  And to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now