[J3] Questions about sqrt -- mostly for vendors

Steven G. Kargl kargl at troutmask.apl.washington.edu
Tue Jan 29 18:57:02 EST 2019


On Tue, Jan 29, 2019 at 06:30:26PM -0500, Ondřej Čertík via J3 wrote:
> > If you're looking to add new intrinsic subprograms to Fortran, I
> > think it would be more profitable to add SINPI, COSPI, TANPI,
> > and SINCOS.  Each has an obvious benefit to Fortran programmers.
> 
> Here is what sinpi means (for people like me who didn't know):
> 
> https://www.mathworks.com/help/matlab/ref/sinpi.html
> 

Whoops, sorry about lack of detail.  Both IEEE-754 2008 and
ISO/IEC TS 18661-4 define the half-cycle trignometric functions
cospi, sinpi, and tanpi.  Search for "n1950.pdf ISO/IEC".
sincos is part of ISO/IEC 9899:1999.

-- 
Steve


More information about the J3 mailing list