<br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 12:38 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><div></div><div class="h5">On Wed, Nov 4, 2009 at 12:35 PM, Charles R Harris <span dir="ltr"><<a href="mailto:charlesr.harris@gmail.com" target="_blank">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>On Wed, Nov 4, 2009 at 12:11 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 Thu, Nov 5, 2009 at 2:15 AM, Michael Droettboom <<a href="mailto:mdroe@stsci.edu" target="_blank">mdroe@stsci.edu</a>> wrote:<br>
> I'm getting the following from r7603 on Solaris Sparc -- somehow related<br>
> to not having a long double version of next after available.  I realise<br>
> not everyone has access to (or is dependent on) this platform, so I'm<br>
> willing to help in whatever way I can, I'm just not sure I understand<br>
> the change yet.<br>
<br>
</div>The only way to implement nextafter that I know of requires to know<br>
the exact representation of the floating point number, and long double<br>
is unfortunately platform dependent.<br>
<br>
What is the long double format on solaris sparc ? (big endian I<br>
suppose, but how many bits for the mantissa and  exponent ? Does it<br>
follow IEER754 ?)<br>
<br></blockquote></div><div><br>Long double on SPARC is quad precision, which I believe *is* in one of the ieee specs. In any case, it has a lot more precision than the extended precision found in Intel derived architectures. Hmm, I wonder what ia64 does?<br>



<br></div></div></blockquote></div></div><div><br>HP9000 also has quad precision: <a href="http://docs.hp.com/en/B3906-90006/ch02s02.html" target="_blank">http://docs.hp.com/en/B3906-90006/ch02s02.html</a><br><br></div></div>
</blockquote><div><br>And it looks like extended precision has disappeared from the latest version or the <a href="http://wapedia.mobi/en/IEEE_754-2008">ieee_754-2008 </a>standard, being replaced by quad precision. I know Intel is also working on quad precision FPU's, so I think that is where things are heading.<br>
<br>Chuck<br></div></div>