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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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