improve fp-support via stringstream