9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: pietro10@mac.com, 9fans@9fans.net
Subject: Re: [9fans] float.h
Date: Wed,  6 Aug 2008 08:59:31 -0400	[thread overview]
Message-ID: <a1b2269f8637f129a33b1bd75255c14a@coraid.com> (raw)
In-Reply-To: <3612518B-A55C-476F-B287-2B52C696014D@mac.com>

> If your unpleasant way is to copy float.h, it won't work; you'll need
> one for each $objtype. I found an algorithm to get epsilon, but not
> min or max.
>

as far as i know, all plan 9 compilers use IEEE 754-compatable semantics
(at least insomuch as allowed by hardware).  thus the minima and maxima,
ε, and underflow properties depend on IEEE 754, not the processor.

/sys/doc/port.ps has the most complete information, but i would imagine
that the powerpc and arm information is slightly out-of-date.

- erik



  reply	other threads:[~2008-08-06 12:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05 19:07 Pietro Gagliardi
2008-08-05 23:43 ` Russ Cox
2008-08-06  2:51   ` Pietro Gagliardi
2008-08-06  3:14     ` ron minnich
2008-08-06  3:22       ` Pietro Gagliardi
2008-08-06  8:06         ` Charles Forsyth
2008-08-06 12:43           ` Pietro Gagliardi
2008-08-06 12:59             ` erik quanstrom [this message]
2008-08-06 16:29         ` Greg Comeau
2008-08-07 18:24           ` Pietro Gagliardi
2008-08-07 19:49             ` Federico G. Benavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a1b2269f8637f129a33b1bd75255c14a@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@9fans.net \
    --cc=pietro10@mac.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).