Problem:
using printf("%f", 1.2);
prints
%f
instead of
1.20000
Possible reasons:
no math lib included
Possible solutions:
- add -lmieee or -lmsoft (or other math library -> see vbcc manual) to list of compiler options
- put -lmieee (or whatever math lib you're using) before -lvc in list of compiler libs options
Amiga computing solutions - networking, graphics, file conversion, system setup, development, ... If you have suggestions, corrections, additions please leave a comment - thanks!
*** DISCLAIMER: The information on these pages is not an official instruction or documentation. No responsibility will be taken. Use at your own risk. ***
Showing posts with label float. Show all posts
Showing posts with label float. Show all posts
Tuesday, August 15, 2017
Subscribe to:
Posts (Atom)