AnsweredAssumed Answered

How print double with newlib-nano ?

Question asked by Jeremy Pont on Dec 2, 2016
Latest reply on Dec 7, 2016 by Alice_Yang


I try to print double max value (DBL_MAX) on uart and I have hardfault interrupt.

I use newlib-nano with flag -u _printf_float.

I have the same issue with standard libc.

If I  print "small" double, it works.

I use kds3.0 with gcc 4.8.

My targer is kl46z on freedom board.

Do you have any idea why it doesn't work ?

Thanks in advance,