Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

supported math.h functions?

Is there a breakdown of what math functions from math.h are supported on Nios II?

Or can someone provide a few clues?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If it was a snake it would have bit me....

    \altera\kits\nios2\documents\gnu-tools\newlib\libm.html
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I need to use the powl and fmodl functions because I'm working with long double. But in <math.h> at Nios II 7.2 has not these functions. how should I proceed? upgrade my compiler? Thanks