Added a hacky implementation for %g
Merge pull request #157 from dhylands/printf-float

Added a hacky implementation for %g