ffc.h

Fast C99 header-only library for parsing floats and doubles

brewmacoslinux
Try with needOr install directly
Source

About

Single-header C99 accelerated float/double parsing

Commands

ffc.h

Examples

Include the header in a C program for fast float parsing$ #include "ffc.h" float result = ffc_strtof("3.14159", NULL);
Parse double precision numbers in C code$ double value = ffc_strtod("2.718281828", NULL);
Use in a compilation with GCC linking the header$ gcc -I/usr/local/include myprogram.c -o myprogram