Forum Discussion

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

Did nios2 support math.h?

math.h,the standard mathematics library can been supported by nios2?

2 Replies

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

    Hi markman,

    > the standard mathematics library can been supported by nios2?

    Yes. You can find the library at:

    $SOPC_KIT_NIOS2/bin/nios2-gnutools/H-i686-pc-cygwin/nios2-elf/lib/libm.a

    Regards,

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

    --- Quote Start ---

    originally posted by markman@Feb 24 2006, 07:36 PM

    math.h,the standard mathematics library can been supported by nios2?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=12940)

    --- quote end ---

    --- Quote End ---

    Hi&#65292;smcnutt&#65281;

    I found it with your help,ths a lot!

    Doing mathematics operation in float and double precision is really a suffering!