Skip to content

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Nov 3, 2018

Add keywords for all math functions/macros listed at https://www.nongnu.org/avr-libc/user-manual/group__avr__math.html, except those that are not defined by the SAMD toolchain:

  • frexp
  • frexpf
  • isfinitef
  • isinff
  • isnanf
  • modf
  • modff
  • signbitf
  • square
  • squaref

I wasn't sure how the above list should be handled. If they are specialized to avr-libc then perhaps they could be added to an Arduino AVR Boards-specific keywords.txt file. Or if you think they should be in the global keywords.txt file I'm happy to add them in to this PR.

Partially fixes #264 (it can be moved to https://github.com/arduino/reference-en if this PR is merged).

CC: @damellis (author of #264)

@cmaglie cmaglie merged commit 52706f5 into arduino:master Nov 5, 2018
@cmaglie cmaglie added this to the Release 1.8.8 milestone Nov 5, 2018
@per1234 per1234 deleted the math-keywords branch November 5, 2018 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add log() and other avr-libc math functions to reference and keywords.txt. [imported]

2 participants