Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: long->double->long goes negative
Date: Fri, 29 Sep 2000 05:57:12 -0500	[thread overview]
Message-ID: <39D47588.C527FC3D@voicenet.com> (raw)
In-Reply-To: Pine.LNX.4.10.10009291055150.2922-100000@springhead.px.uk.com

actuall, in this case it does cause a fault - and its the kernel/math fixup
routines that returns the results u see :-/
/gat


"Dr. David Gilbert" wrote:

> On Fri, 29 Sep 2000, Uncle George wrote:
>
> > so u expect +int -> +float -> -int  to be an A-OK situation. Gee what other
> > positive float numbers would u expect to give u negative results.
>
> I'm more surprised by the fact it didn't through a SIGFPE; heck so much as
> breathing in the wrong way on an Alpha's floating point normally does....
>
> Dave
>
> /------------------------------------------------------------------\
> | Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
> | -------- G7FHJ --------|---------------------------------------- |
> | Home: dave@treblig.org            http://www.treblig.org         |
> \------------------------------------------------------------------/
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




  reply	other threads:[~2000-09-29 10:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-29  0:44 long->double->long goes negative Uncle George
2000-09-29  4:09 ` Brad Lucier
2000-09-29  9:41   ` Uncle George
2000-09-29  9:56     ` Dr. David Gilbert
2000-09-29 10:57       ` Uncle George [this message]
2000-09-29 11:55         ` Dr. David Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2000-09-29  7:49 Phil Carmody
2000-09-29 11:58 Rick Gorton
2000-09-29 14:43 ` Uncle George
2000-09-29 16:36 Brad Lucier
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