News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

ICos / ISin functions

Started by Wimax, Sep 29, 2023, 05:19 AM

Previous topic - Next topic

Wimax

Hello Everybody! ;D

From the manual, the definition of ICos/ISin functions is not very clear to me. What is the order of magnitude of the ratio of execution times on PIC24, compared to the equivalent floating point functions ?

top204

The integer Sin and Cos commands are a throwback to the original syntax and operation of the compilers, and they produce the values in radians from 0 to 255. They are very crude, but worked well for the original 8-bit devices that had very little RAM or speed.

Wimax