\documentclass[nocolor,memo]{j3} \renewcommand{\hdate}{13 January 2004} \renewcommand{\vers}{J3/04-173} \usepackage{lineno} \usepackage{longtable} \usepackage{xr} \externaldocument{007} \input pdftest \begin{document} \vspace{-10pt} \begin{tabbing} Subject: \hspace*{0.25in}\=Combined quotient and remainder, sin and cos intrinsics\\ From: \>Van Snyder\\ Reference: \>03-258r1, section\\ \end{tabbing} \pagewiselinenumbers \leftlinenumbers \linenumbers* \section*{Number} TBD \section*{Title} Combined quotient and remainder, sin and cos intrinsics. \section*{Submitted By} J3 \section*{Status} For consideration. \section*{Basic Functionality} Provide intrinsic subroutines that compute both quotient and remainder, and both sine and cosine. \section*{Rationale} One occasionally needs to compute both cosine and sine, both hyperbolic cosine and sine, or both quotient and remainder. These pairs of functions are related in such a way that it is convenient to compute them together, and more efficient to do so than to invoke existing intrinsic functions or operations to compute them separately. Many processors have such procedures lurking ``under the covers'' in their run-time libraries, and some exploit them when optimization is requested, but users can't count on this. It would therefore be useful for the standard to specify intrinsic subroutines that compute both functions in each of these three ``companion'' pairs, say SINCOS, SINHCOSH and QUOTREM. \section*{Estimated Impact} Minor. A few intrinsics. \section*{Detailed Specification} Provide intrinsic subroutines to compute both sine and cosine, both hyperbolic sine and cosine, and both quotient and remainder. \section*{History} \label{lastpage} \end{document}