Main Content
How Functions Use fimath
Functions that use then discard attached fimath
Functions that ignore and discard attached fimath
Functions | Note |
---|---|
accumneg ,
accumpos |
|
add , sub , mpy |
|
CORDIC functions (see CORDIC Algorithms in MATLAB) | CORDIC functions use their own internal
|
mod | — |
qr | — |
quantize | Uses the math settings on the quantizer
object, ignores and discards any fimath settings
on the input |
Trigonometric functions — atan2 ,
cos , sin | — |
Functions that do not perform math
Functions | Note |
---|---|
Built-in Types—int32 , int64 ,
int8 , uint16 , uint32 , uint64 ,
uint8 | Ignore any fimath settings on the input.
Always use the rounding method Round when casting
to the new data type. The output is not a fi
object so it has no attached fimath . |
bitsll , bitsra , bitsrl | OverflowAction and
RoundingMethod are ignored — bits drop
off the end. |
bitshift | RoundingMethod is ignored, but
OverflowAction property is obeyed. |