Overview
Computes the function y = ldexp(f,e) using the math library
Discussion
Computes the function Y = ldexp(F, E) using the math library. The function computes a floating point number starting with a fractional value F and an exponent E as: Y = F * 2^E. This function is the inverse of frexp().
Type Definition
Code Block |
---|
typedef struct _ModuleLdexp { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleLdexpClass; |
Pins
Input Pins
Name: f
Description: Fractional value f
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: y
Description: Floating point result
Data type: float
MATLAB Usage
File Name: ldexp_module.m
...