From: hidders@REMOVE.THIS.win.tue.nl (Jan Hidders)
Newsgroups: comp.databases.theory
Subject: Re: Clean Object Class Design -- Circle/Ellipse
Followup-To: comp.databases.theory
Date: 8 Aug 2001 09:19:01 GMT
Organization: Eindhoven University of Technology
Lines: 38
Message-ID: <9kr065$lq$1@news.tue.nl>
References: <9hqjpq$it8$0@dosa.alt.net> <9koatn$6q$1@news.tue.nl> <7MUb7.1661$NJ6.5968@www.newsranger.com> <2r_b7.2149$NJ6.9164@www.newsranger.com>
Reply-To: hidders@win.tue.nl (Jan Hidders)
NNTP-Posting-Host: svis02.win.tue.nl
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: hidders@win.tue.nl (Jan Hidders)


Vadim Tropashko  wrote:
> In article <7MUb7.1661$NJ6.5968@www.newsranger.com>, Mikito Harakiri says...
> >
> >>Well, let's see, it should hold for all Reals x, y that,
> >>
> >>  floor(x) I+ floor(y) = floor(x R+ y)
> >>
> >>Yes, it holds, so they could, if this is your only operator. :-)
> >
> >You mean '+' is my only operator? I see that I can't make it
> >
> >floor(x) I* floor(y) <==> floor(x R* y)
> >
> It doesn't hold for '+' either.
> 
> floor(1.9) I+ floor(1.9) = 2
> 
> while
> 
> floor(1.9+1.9) = 3

Oh dear, you are right. Thanks for the correction. It also does not
work for round():

  round(1.5) I+ round(1.5) = 4,    but

  round(1.5 R+ 1.5) = 3

In fact, it can be shown that such a mapping cannot exist. It holds
that the mapping maps the integer Reals to the corresponding Integer
and it should also hold that

  f(1/2) I+ f(1/2) = f(1/2 R+ 1/2) = f(1) = 1.

So f(1/2) should be an integer x such that x + x = 1.

-- 
  Jan Hidders

