472,102 Members | 1,361 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

float

bob
how do i set a floating point to the maximum float value in c++?

Feb 28 '06 #1
2 9358
bo*@coolgroups.com wrote:
how do i set a floating point to the maximum float value in c++?


float value = std::numeric_limits<float>::max();

V
--
Please remove capital As from my address when replying by mail
Feb 28 '06 #2
bob
nice. thanks.

Feb 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Pat | last post: by
14 posts views Thread by Glen Able | last post: by
16 posts views Thread by Gerald Lafreniere | last post: by
6 posts views Thread by Dave win | last post: by
9 posts views Thread by Sisyphus | last post: by
11 posts views Thread by Marc Pelletier | last post: by
20 posts views Thread by ehabaziz2001 | last post: by
8 posts views Thread by vjnr83 | last post: by
13 posts views Thread by Shirsoft | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.