[SOLVED] Problem with function "isfinite()"

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Problem with function "isfinite()"

    Hi,

    I have been trying out Embedded Studio and ported an C IAR-project. After overcoming minor obstacles, it was possible to compile all files.
    Only the linker showed two errors:
    ---------
    Linking GTD400.elf

    undefined symbol: __float32_isfinite
    undefined symbol: __float64_isfinite
    Build failed
    ----------
    These two functions are used in the macro "isfinite()" which I used in one module. "math.h" is included and also the C standard is set to "gnu11"
    (isinfinite() was introduced in C99)
    I could solve the linker errors by switching the RTL-library from "Segger" to "Embedded Studio". I also tried to set up an sample projekt to verify
    this behaviour, but in my sample project "Segger"-RTL as well as "Embedded Studio"-RTL worked perfectly.
    Do you have any idea ? Thanks in advance !

    Stephan
  • Hello Stephan,

    Thank you for your inquiry.
    isfinite is currently not yet implemented in the math.h of the SEGGER RTL but it should be available with the next Embedded Studio update.
    Currently we are moving the ES RTL to the SEGGER RTL step by step which is why it can happen that not all functions are transferred yet. But this should be resolved soon and the ES RTL will be replaced + more.
    You can subscribe here to get notified when the new Embedded Studio version launches:
    segger.com/notification/subscribe.php?prodid=196

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.