frexp Function

Top  Previous  Next

Description

Computes the mantissa and exponent of the input argument x for base 2, such that x = mantissa*2^exponent. The output argument y receives the exponent value, while the function itself returns the mantissa. The output values are given in base 10.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

frexp(Variable x, Variable exponent)

Variable

Computes the mantissa and exponent of the input argument x for base 2, such that x = mantissa*2^exponent. The output argument y receives the exponent value, while the function itself returns the mantissa. The output values are given in base 10.

 

 

See also

Functions