import fpstr
//
// String formatting bits
//
const FPSTR_FIXED = 1 // Fixed count of fractional digits
const FPSTR_FLOAT = 0 // Floating count of fractional digits
const FPSTR_STRIP = 2 // Strip trailing fractional zeros
const FPSTR_EXP   = 4 // Force exponential format
const FPSTR_FLEX  = 8 // Flexible switch to EXP format if over/underflow
//
// Parse string into decrecord, return SANE conversion output
//
predef str2ext(str, ext)#1
//
// Convert extended FP to string using , return string
//
predef ext2str(ext, str, intdigits, fracdigits, format)#1
end
