Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
default type for constants like 12.5, 1e-3, float or double ?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Greenhorn, post: 2406997"] hi wat is the morale behind making these type values, 12.3, 1e-3 etc as double by default rather than as float (which holder smaller values, values with lower precision). Is it due to an impression that these values would more often be used with larger values, values with higher precision. greenhorn. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
default type for constants like 12.5, 1e-3, float or double ?
Top