Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
Is there any built in formula for calculating the range of float &double in c?
Is there any built in formula for calculating the range of float &double in c?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Ashwani Reshma
New Member
Join Date:
Oct 2013
Posts:
1
#1
Is there any built in formula for calculating the range of float &double in c?
Oct 26 '13, 10:49 AM
I want to get the direct formula for calculating the range of double and float datatypes in c,if any.
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Oct 26 '13, 03:27 PM
Just look in float.h for the min/max values of floating point types.
There is no formula since the language specification defines the format of the floating point types.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment