472,141 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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 2034
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 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.