IQMathLibrary
1.0
|
Functions to return the fractional portion of the input.
#include <stdint.h>
#include "../support/support.h"
Functions | |
__STATIC_INLINE int_fast32_t | __IQNfrac (int_fast32_t iqNInput, int8_t q_value) |
Return the fractional portion of an IQN input. More... | |
int32_t | _IQ30frac (int32_t a) |
Return the fractional portion of an IQ30 input. More... | |
int32_t | _IQ29frac (int32_t a) |
Return the fractional portion of an IQ29 input. More... | |
int32_t | _IQ28frac (int32_t a) |
Return the fractional portion of an IQ28 input. More... | |
int32_t | _IQ27frac (int32_t a) |
Return the fractional portion of an IQ27 input. More... | |
int32_t | _IQ26frac (int32_t a) |
Return the fractional portion of an IQ26 input. More... | |
int32_t | _IQ25frac (int32_t a) |
Return the fractional portion of an IQ25 input. More... | |
int32_t | _IQ24frac (int32_t a) |
Return the fractional portion of an IQ24 input. More... | |
int32_t | _IQ23frac (int32_t a) |
Return the fractional portion of an IQ23 input. More... | |
int32_t | _IQ22frac (int32_t a) |
Return the fractional portion of an IQ22 input. More... | |
int32_t | _IQ21frac (int32_t a) |
Return the fractional portion of an IQ21 input. More... | |
int32_t | _IQ20frac (int32_t a) |
Return the fractional portion of an IQ20 input. More... | |
int32_t | _IQ19frac (int32_t a) |
Return the fractional portion of an IQ19 input. More... | |
int32_t | _IQ18frac (int32_t a) |
Return the fractional portion of an IQ18 input. More... | |
int32_t | _IQ17frac (int32_t a) |
Return the fractional portion of an IQ17 input. More... | |
int32_t | _IQ16frac (int32_t a) |
Return the fractional portion of an IQ16 input. More... | |
int32_t | _IQ15frac (int32_t a) |
Return the fractional portion of an IQ15 input. More... | |
int32_t | _IQ14frac (int32_t a) |
Return the fractional portion of an IQ14 input. More... | |
int32_t | _IQ13frac (int32_t a) |
Return the fractional portion of an IQ13 input. More... | |
int32_t | _IQ12frac (int32_t a) |
Return the fractional portion of an IQ12 input. More... | |
int32_t | _IQ11frac (int32_t a) |
Return the fractional portion of an IQ11 input. More... | |
int32_t | _IQ10frac (int32_t a) |
Return the fractional portion of an IQ10 input. More... | |
int32_t | _IQ9frac (int32_t a) |
Return the fractional portion of an IQ9 input. More... | |
int32_t | _IQ8frac (int32_t a) |
Return the fractional portion of an IQ8 input. More... | |
int32_t | _IQ7frac (int32_t a) |
Return the fractional portion of an IQ7 input. More... | |
int32_t | _IQ6frac (int32_t a) |
Return the fractional portion of an IQ6 input. More... | |
int32_t | _IQ5frac (int32_t a) |
Return the fractional portion of an IQ5 input. More... | |
int32_t | _IQ4frac (int32_t a) |
Return the fractional portion of an IQ4 input. More... | |
int32_t | _IQ3frac (int32_t a) |
Return the fractional portion of an IQ3 input. More... | |
int32_t | _IQ2frac (int32_t a) |
Return the fractional portion of an IQ2 input. More... | |
int32_t | _IQ1frac (int32_t a) |
Return the fractional portion of an IQ1 input. More... | |
__STATIC_INLINE int_fast32_t __IQNfrac | ( | int_fast32_t | iqNInput, |
int8_t | q_value | ||
) |
Return the fractional portion of an IQN input.
iqNInput | IQN type input. |
q_value | IQ format. |
Referenced by _IQ10frac(), _IQ11frac(), _IQ12frac(), _IQ13frac(), _IQ14frac(), _IQ15frac(), _IQ16frac(), _IQ17frac(), _IQ18frac(), _IQ19frac(), _IQ1frac(), _IQ20frac(), _IQ21frac(), _IQ22frac(), _IQ23frac(), _IQ24frac(), _IQ25frac(), _IQ26frac(), _IQ27frac(), _IQ28frac(), _IQ29frac(), _IQ2frac(), _IQ30frac(), _IQ3frac(), _IQ4frac(), _IQ5frac(), _IQ6frac(), _IQ7frac(), _IQ8frac(), and _IQ9frac().
int32_t _IQ30frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ30 input.
a | IQ30 type input. |
References __IQNfrac().
int32_t _IQ29frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ29 input.
a | IQ29 type input. |
References __IQNfrac().
int32_t _IQ28frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ28 input.
a | IQ28 type input. |
References __IQNfrac().
int32_t _IQ27frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ27 input.
a | IQ27 type input. |
References __IQNfrac().
int32_t _IQ26frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ26 input.
a | IQ26 type input. |
References __IQNfrac().
int32_t _IQ25frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ25 input.
a | IQ25 type input. |
References __IQNfrac().
int32_t _IQ24frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ24 input.
a | IQ24 type input. |
References __IQNfrac().
int32_t _IQ23frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ23 input.
a | IQ23 type input. |
References __IQNfrac().
int32_t _IQ22frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ22 input.
a | IQ22 type input. |
References __IQNfrac().
int32_t _IQ21frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ21 input.
a | IQ21 type input. |
References __IQNfrac().
int32_t _IQ20frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ20 input.
a | IQ20 type input. |
References __IQNfrac().
int32_t _IQ19frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ19 input.
a | IQ19 type input. |
References __IQNfrac().
int32_t _IQ18frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ18 input.
a | IQ18 type input. |
References __IQNfrac().
int32_t _IQ17frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ17 input.
a | IQ17 type input. |
References __IQNfrac().
int32_t _IQ16frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ16 input.
a | IQ16 type input. |
References __IQNfrac().
int32_t _IQ15frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ15 input.
a | IQ15 type input. |
References __IQNfrac().
int32_t _IQ14frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ14 input.
a | IQ14 type input. |
References __IQNfrac().
int32_t _IQ13frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ13 input.
a | IQ13 type input. |
References __IQNfrac().
int32_t _IQ12frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ12 input.
a | IQ12 type input. |
References __IQNfrac().
int32_t _IQ11frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ11 input.
a | IQ11 type input. |
References __IQNfrac().
int32_t _IQ10frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ10 input.
a | IQ10 type input. |
References __IQNfrac().
int32_t _IQ9frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ9 input.
a | IQ9 type input. |
References __IQNfrac().
int32_t _IQ8frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ8 input.
a | IQ8 type input. |
References __IQNfrac().
int32_t _IQ7frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ7 input.
a | IQ7 type input. |
References __IQNfrac().
int32_t _IQ6frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ6 input.
a | IQ6 type input. |
References __IQNfrac().
int32_t _IQ5frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ5 input.
a | IQ5 type input. |
References __IQNfrac().
int32_t _IQ4frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ4 input.
a | IQ4 type input. |
References __IQNfrac().
int32_t _IQ3frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ3 input.
a | IQ3 type input. |
References __IQNfrac().
int32_t _IQ2frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ2 input.
a | IQ2 type input. |
References __IQNfrac().
int32_t _IQ1frac | ( | int32_t | a | ) |
Return the fractional portion of an IQ1 input.
a | IQ1 type input. |
References __IQNfrac().