469,616 Members | 1,673 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,616 developers. It's quick & easy.

the smallest float(4 bytes) > 1.0

Can someone give me the smallest float(4 bytes) > 1.0f in oct and hex forms?
Jul 23 '05 #1
3 1964
remi wrote:
Can someone give me the smallest float(4 bytes) > 1.0f in oct and hex forms?


Can you do your homework?
Jul 23 '05 #2

Uzytkownik "Miguel Gimenez" <me@privacy.net> napisal w wiadomosci
news:d2**********@domitilla.aioe.org...
remi wrote:
Can someone give me the smallest float(4 bytes) > 1.0f in oct and hex
forms?


Can you do your homework?


no, no , no
programming is not my subject, but hobby. I need to pass this value to some
function so that it could operate on a scope [0, 1.0], instead of [0,1.0).
Jul 23 '05 #3
remi wrote:
Uzytkownik "Miguel Gimenez" <me@privacy.net> napisal w wiadomosci
news:d2**********@domitilla.aioe.org...
remi wrote:
Can someone give me the smallest float(4 bytes) > 1.0f in oct and hex
forms?


Can you do your homework?

no, no , no
programming is not my subject, but hobby. I need to pass this value to some
function so that it could operate on a scope [0, 1.0], instead of [0,1.0).


See 'FLT_EPSILON' in <cfloat>. Convert it to oct or hex yourself.

Also, you probably need to rewrite your function instead of trying to
coerce it into "correct" behaviour.

V
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jim West | last post: by
2 posts views Thread by Pepijn Kenter | last post: by
18 posts views Thread by Active8 | last post: by
8 posts views Thread by ern | last post: by
5 posts views Thread by xxx | last post: by
9 posts views Thread by richard_lavoie | last post: by
4 posts views Thread by john | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.