reference-en
reference-en copied to clipboard
Add log() and other avr-libc math functions to reference
Moved from https://github.com/arduino/Arduino/issues/264 by @damellis
This is Issue 264 moved from a Google Code project. Added by 2010-05-25T20:40:09.000Z by [email protected]. Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Medium, Component-Docs, Component-Build
Original description
Since they are available and people want to use them.
Note that the original issue also requested that the names be added to keywords.txt so that the Arduino IDE would highlight them. That component of the request has already been done via https://github.com/arduino/Arduino/pull/8167.
That PR provides a list of the possible math functions in the event that it's decided this documentation request should be implemented: https://github.com/arduino/Arduino/pull/8167/files
I only added the functions/macros which are also defined in the SAMD toolchain. The list of keywords which were avr-libc specific is here: https://github.com/arduino/Arduino/pull/8167#issue-228123951
There is an outdated orphan reference page that does document them to some extent here: https://www.arduino.cc/en/Reference/MathHeader
Related:
- https://github.com/arduino/reference-en/issues/362
- https://github.com/arduino/reference-en/issues/927