<br><br><div class="gmail_quote">On Sun, Nov 8, 2009 at 10:11 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com">charlesr.harris@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Sun, Nov 8, 2009 at 9:43 PM, David Cournapeau <span dir="ltr"><<a href="mailto:cournape@gmail.com" target="_blank">cournape@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>On Mon, Nov 9, 2009 at 12:49 PM, Charles R Harris<br>
<<a href="mailto:charlesr.harris@gmail.com" target="_blank">charlesr.harris@gmail.com</a>> wrote:<br>
<br>
>><br>
><br>
> Umm, PPC doesn't have ieee quad, it is an amalgam of two doubles.<br>
<br>
</div>Good catch ! I added a new type define for this case, with the<br>
corresponding union.<br>
<br>
I have quickly tested it under rosetta, and it seems that<br>
npy_nextafterl gives a reasonable answer for the few values I have<br>
tried (i.e. the same as for a double).<br>
<div><div></div><div><br></div></div></blockquote></div><div><br>I don't remember how PPC does it's arithmetic with the two doubles, but one holds small values that are added to the other double, so I don't think it can be just like a double in some circumstances. What's rosetta?<br>

<br></div></div></blockquote><div><br>OTOH, it does look like extended precision on the PPC mac might be doubles:<br><br><pre class="manpages"><tt><tt>     The libm functions declared in math.h provide mathematical library func-<font class="whiteout" color="#ffffff">tions functions</font><br>
     tions in single-, double-, and extended-precision IEEE-754 floating-point<br>     formats on Intel macs, and in single- and double-precision IEEE-754<br>     floating-point formats on PowerPC macs.<br><br>Is that what you see?<br>
</tt></tt></pre> Chuck</div></div><br>