From: <telford@xenon.triode.net.au>
Subject: Re: floor() broken on Multia
Date: 2000/03/03 [thread overview]
Message-ID: <89npn4$ddt$1@hyperion.triode.net.au> (raw)
In-Reply-To: 38BF6352.238799B7@kc.rr.com
Tony Hammitt <thammitt@kc.rr.com> wrote:
> This isn't pretty, but it works:
> y=floor(x); is equivalent to y=(double)(int)((x<0)?x-1:x);
OK, thanks for that it seems to work without hanging since
it doesn't use the troublesome instruction. Worst case I can patch
the libc source and recompile everything (yuck). This is especially
annoying since I found that the X11 server contains the same bad
instructions and recompiling that is a big undertaking on a Multia.
I'm trying a newer kernel...
- Tel
next prev parent reply other threads:[~2000-03-03 5:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-02 5:00 floor() broken on Multia telford
2000-03-03 5:00 ` Ryan C. Price
2000-03-03 5:00 ` Michal Jaegermann
2000-03-06 5:00 ` telford
2000-03-03 5:00 ` telford
2000-03-03 5:00 ` Tony Hammitt
2000-03-03 5:00 ` telford [this message]
2000-03-03 5:00 ` Tony Hammitt
2000-03-06 5:00 ` Ryan C. Price
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox