Perhaps you should compile your Perl with long doubles one of these megaseconds.