ldexp(Variable, Variable) Function

Top 

Description

Computes the number corresponding to the specified mantissa and exponent for base 2, such that x = mantissa*2^exponent. The mantissa and exponent values should be given in base 10.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

ldexp(

Variable mantissa,


Variable exponent)

 

 

Arguments

mantissa


Description:

Mantissa used to generate a number.

 

 

exponent


Description:

Exponent used to generate a number.

 

 

 

Return Value

Type:

number

 

 

Returns the number generated using the specified mantissa and exponent, where x = mantissa*2^exponent.

 

Syntax

myVariable1 = ldexp(myVariable2, myVariable3);

 

 

See also

ldexp