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,211 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
ID: 22610133
FLT_MAX*FLT_MAX
Inf - Inf
0
 

Author Comment

by:panaz
ID: 22610314
is Inf defined in any header file?
0
 
LVL 84

Accepted Solution

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

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
search cached files for string 12 397
Bootstrap Template 11 54
Homework Help 5 88
numbers ascending pyramid 101 195
Setting up SVN Server using Windows and Apache Purpose of the document:       This article will explain the process of how to configure SVN repository in a windows environment using APACHE web server. What is SVN? (http://subversion.tigris.org/) …
The CRUD Functions CRUD, meaning "Create, Read, Update, Delete (http://en.wikipedia.org/wiki/Create,_read,_update_and_delete)" is a common term to data base developers.  It describes the essential functions of data base table maintenance.  This art…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 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