<div dir="ltr">Perhaps for this particular environment where the C compiler doesn't bundle the required math functions (= only Microsoft?), a proper behavior would be for the configure script to check for optional availability of this external support library for the same math functions (the msun library or similar choice) and if so link it in but for basis provide an internal implementation that's focused on being short and toti-compatible?</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2014-01-31 Bakul Shah <span dir="ltr"><<a href="mailto:bakul@bitblocks.com" target="_blank">bakul@bitblocks.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Thu, 30 Jan 2014 17:51:26 EST Bradley Lucier <<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>> wrote:<br>
><br>
> On Jan 30, 2014, at 5:43 PM, Bakul Shah wrote:<br>
><br>
> ><br>
> > On Thu, 30 Jan 2014 16:27:11 EST Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote:<br>
> >><br>
> >> Anyone know of a good portable implementation of those functions<br>
> (sinh, cosh,<br>
> >> tanh, asinh, acosh, atanh, expm1, log1p, scalbn)?  I'll take a poor<br>
> >> implementation if a good one doesn't exist...<br>
> ><br>
> > May be you can use FreeBSD's math lib (originally from Sun).<br>
> > <a href="https://github.com/freebsd/freebsd/tree/master/lib/msun" target="_blank">https://github.com/freebsd/freebsd/tree/master/lib/msun</a><br>
><br>
> Yes, this library is a good option (I don't know whether FreeBSD made<br>
> many changes to the original Sun library).<br>
<br>
</div>There have been a number of changes, support for more arch,<br>
long double, complex number versions, performance imrovements,<br>
fixes, etc. etc. You can trawl through its history to see what<br>
was done. I don't use them enough to know of their accuracy<br>
and I don't know if exhaustive tests are run regularly. You<br>
should talk to Bruce Evans and David Schultz for details.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br></div>