C
CBFalconer
Flash said:I was trying to get a concrete example that we could talk about. For
example the ranges could be 0.9<=valone<1.1 and 1.1<=valoneandabit<1.2
Obviosuly those would not be valid for a C implementaion, and the
decimal numbers specified are mathematical real numbers, as are the
comparison operators mathematical operators.
No it is not. In fact, that is not even related to the question.
It certainly is. Look at the code you posted. It is still above.
I want specific numerical values. If the bounds you specify are not
included that is important.
They depend on DBL_EPSILON. Look in your float.h file, or emit it
from a program. I don't know what it is for you.
No it isn't. It will be the range of the next representable number
above 1.0 in the direction of 100. I.e. a range only a very small
amouont larger than 1.0
Not a chance. 100 is much larger that 1. I don't know where you
got that description of valueandabit.
Which when you get the correct values will be in important point, so
think carefully.
I want the values for a REAL implementation, one you have to hand by
preference. Not symbols, but actual real numbers. I accept that other
implementations will be different, but I believe I can prove some of
my points on one specific implementation of *your* choice.
So don't say 1.0+DBL_EPSILON etc, do the calculation and give the
exact number.
Can't. I don't know what DBL_EPSILON is on your machine. Even if
I did know, it doesn't apply to my machine. You are being
completely unreasonable.