From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 6 Aug 2008 08:59:31 -0400 To: pietro10@mac.com, 9fans@9fans.net Message-ID: In-Reply-To: <3612518B-A55C-476F-B287-2B52C696014D@mac.com> References: <84fe7a375cfada78925e89e61fa6774e@terzarima.net> <3612518B-A55C-476F-B287-2B52C696014D@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [9fans] float.h Topicbox-Message-UUID: fc0a1c88-ead3-11e9-9d60-3106f5b1d025 > 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