By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,804 Members | 1,634 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,804 IT Pros & Developers. It's quick & easy.

the smallest float(4 bytes) > 1.0

P: n/a
Can someone give me the smallest float(4 bytes) > 1.0f in oct and hex forms?
Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a

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

P: n/a
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.