Give up. Should port netbsd/src/lib/libc/gdtoa/dtoa.c if you don't use Integer.

How abort porting integer-simple to ajhc?
Copy integer-simple from GHC.
Start porting integer-simple to ajhc.