JCL Help:SinCos@Double@Double@Double

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Calculates the sine and cosine of the argument.


Pascal

 procedure SinCos(X: Single; out Sin: Single; out Cos: Single); overload;
procedure SinCos(X: Double; out Sin: Double; out Cos: Double); overload;
procedure SinCos(X: Extended; out Sin: Extended; out Cos: Extended); overload;


Parameters

Parameters Description
X: Single The angle, in radians, whose sine and cosine to calculate.
out Sin: Single Sine of X.
out Cos: Single Cosine of X.


Description

SinCos calculates both the sine and cosine of the angle X in one call. This is much faster than calling Sin() and Cos() separately.


About

Unit

JclMath


Donator

Clayton Collie


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page