CBFalconer said:
Simultaneously y is specified by xmax, and x is specified by ymin.
Remember that *I* am the one who introduced x, y, xmin, ymin, xmax and
ymax and specified EXACTLY what they are. So here, again, is what they
are, and if you want to start talking about something else then please
actually explicitly STATE that you are ignoring the question being asked
ans talking about something else instead.
----------
Given two numbers x and y whose values are "touching ranges" with y
being the next greater range than x then in your model we have:
x represents xmin to xmax
y represents ymin to ymax
x < y
xmax equal to ymin (there can be no intervening real numbers since if
there were any there would be an infinite number)
-----------
Now, what I meant was that x and y are consecutive floating point
numbers, for example they could be doubles 1.0 and 1.0+DBL_EPSILON as I
was assuming that your ranges did not overlap. Another post be you now
suggests they do, which makes them of even less use for anything
serious, since then your model does not tell you what value will be stored.
Remember that xmax defines a fp-object-value for y, while ymin does
the same for x.
Well, you have definitely changed the terminology from what I introduced
when I asked the question.
There is no equality specified. They are computed
from x and y fp-object=values respectively. Remember that xmax is
computed so that any conversion of xmax to a float will result in
the value y.
That is EXPLICITLY not the terminology I used to ask my question, since
xmax was related to x and ymin to y. Again, if you are going to ignore
the terminology someone uses to define there question you are not
answering the question.
We are working with reals, not integers.
Again, why are you trying to tell me what question I was asking rather
than trying to answer the question.
So infinities rear their
ugly heads all over. We don't normally have to worry about them,
nor about the various EPSILONs etc. unless we are worrying about
the precise range of real values represented by an fp-object.
i was ASKING about what your ranges are! I was TRYING to get an accurate
definition of them!
Dealing with all these as numbers makes things more confusing.
Using an exact representation of the fp-object in terms of
exponent, significand, etc. is much clearer.
OK, if that is all you can cope with, then I will ask my question given
EXPLICIT EXACT VALUES. First I need values you will accept. So..
Here are two lines of C code.
int main(void)
{
double valone = 1.0;
double valoneandabit = (valone, 100.0);
/* rest of program irrelevant to discussion */
return 0;
}
Now, I know you have access to a C compiler. If on YOUR SPECIFIC
compiler you were to compile and run the above, what are the EXACT
numerical ranges for valone and valoneandabit. I.e. I am asking for a
concrete numerical answer.
Note that 1.0-EPSILON is NOT and exact numerical value.
0.91836678766234234786324762347653245897924375348795324 is, but it is
not the number I want obviously. So give me exact numbers you are happy
with for us to then discuss.