Last Modified: September 10, 2016

Computes both the sine and cosine of a specified value (**x**). You must specify **x** in pi radians, which use fewer FPGA resources than radians. To convert a radian value to pi radians, multiply the value by pi.

An input to this operation.

You must specify this input in pi radians, which use fewer resources than radians. To convert radians to pi radians, multiply the radian value by pi.

A Boolean that describes whether the next data point has arrived for processing. Wire the **output valid** output of an upstream node to this input to transfer data from the upstream node to this node.

TRUE | The next data point has arrived for processing. |

FALSE | The next data point has not arrived for processing. |

A Boolean that specifies whether downstream nodes are ready for this node to return a new value. Use a Feedback Node to wire the **ready for input** output of a downstream node to this input of the current node.

True | The downstream node is ready for the next data point. |

False | The downstream node is not ready for the next data point. |

**Default: **TRUE

Result of the operation in pi radians, which uses fewer resources on the FPGA.

This output assumes the same numeric representation as
**x**. When
**x** is of the form
**x** = a + b
*i*, that is, when
**x** is complex, the following equation defines
**sin**:

$\mathrm{sin}(x)=\mathrm{sin}(a)*\mathrm{cosh}(b)+i(\mathrm{cos}(a)*\mathrm{sinh}(b))$

Result of the operation in pi radians, which uses fewer resources on the FPGA.

This output assumes the same numeric representation as
**x**. When
**x** is of the form
**x** = a + b
*i*, that is, when
**x** is complex, the following equation defines
**cos**:

$\mathrm{cos}(x)=\mathrm{cos}(a)*\mathrm{cosh}(b)+i(-\mathrm{sin}(a)*\mathrm{sinh}(b))$

A Boolean that indicates whether this node has computed a result that downstream nodes can use. Wire this output to the **input valid** input of a downstream node to transfer data from the node to the downstream node.

True | The node has computed a result that downstream nodes can use. |

False | This node has not computed a result that downstream nodes can use. Any data output returns an undefined value. The undefined value returned by a data output may differ between simulation and hardware. |

**Where This Node Can Run: **

Desktop OS: none

FPGA: All devices