wduazzlanlgov via rt veyjhbyfbuaeanjperlorg new ticket created wduazzlanlgov please include string perl 47087 subject line future correspondence issue bug report perl wduazzlanlgov generated help perlbug 135 running perl v588 upon investigation ive discovered disturbing things 1 perl e print evalargv0n 1818343814922934e051818343815129567e051450606250000001e02 returns 14244604399474e07 2 using attached programs gcc pgf90 sunwspro cc f90 mips f90 gfortran g95 calculate following identical expression sun cygwin 32bit linux 64bit linux sgi 1424458433625532e07 thats disturbing enough read disturbing fact occurs remove scientific notation literals 1 perl e print evalargv0n 181834381492293418183438151295671450606250000001 returns 142445843362553e07 compilers bane life sigh following suggested perl e printf15en evalargv0n 1818343814922934e051818343815129567e051450606250000001e02 1424458433625532e07 perl print uses default c printf precision six places get explicitly ask using printf portable cygwin since cygwin build perl continued produce original incorrect value alternative script avoids precision problem platforms ive tested far i686 linux sun sgi i686 cygwin windows xp ibm aix power pc darwin power pc i386 darwin mac perl e sargv0 sseed101g printf ns n15enargv0sevals 1818343814922934e051818343815129567e051450606250000001e02 yields 1818343814922934e051818343815129567e051450606250000001e02 181834381492293410051818343815129567100514506062500000011002 1424458433625532e03 basically convert scientific notation numbers standard floating point numbers regex run eval resulting string expression indicates print culprit perl correctly converting scientific notation expression flags categorycore severitymedium site configuration information perl v588 configured rurban sun jul 8 190844 gmt 2007 summary perl5 revision 5 version 8 subversion 8 configuration platform osnamecygwin osvers1524015642 archnamecygwinthreadmulti64int unamecygwin_nt51 reini 1524015642 20070131 1057 i686 cygwin config_argsde dmksymlinks duse64bitint dusethreads uusemymalloc doptimizeo3 dman3ext3pm dusesitecustomize dusedevel hintrecommended useposixtrue d_sigactiondefine usethreadsdefine use5005threadsundef useithreadsdefine usemultiplicitydefine useperliodefine d_sfioundef uselargefilesdefine usesocksundef use64bitintdefine use64bitallundef uselongdoubleundef usemymallocn bincompat5005undef compiler ccgcc ccflags dperl_use_safe_putenv fnostrictaliasing pipe wdeclarationafterstatement optimizeo3 cppflagsdperl_use_safe_putenv fnostrictaliasing pipe wdeclarationafterstatement ccversion gccversion344 cygming special gdc 012 using dmd 0125 gccosandvers intsize4 longsize4 ptrsize4 doublesize8 byteorder12345678 d_longlongdefine longlongsize8 d_longdbldefine longdblsize12 ivtypelong long ivsize8 nvtypedouble nvsize8 off_toff_t lseeksize8 alignbytes8 prototypedefine linker libraries ldld2 ldflags lusrlocallib libpthusrlocallib usrlib lib libslgdbm ldb ldl lcrypt lgdbm_compat perllibsldl lcrypt lgdbm_compat libcusrliblibca sodll useshrplibtrue libperllibperla gnulibc_version dynamic linking dlsrcdl_dlopenxs dlextdll d_dlsymunundef ccdlflags cccdlflags lddlflags lusrlocallib locally applied patches cyg01 hintscygwinsh ldflags cyg02 libextutilsembed insensitive leading cyg03 libtestharnessstraps envperl5lib cyg04 majorversioncygwinsh cygperl5_8dll cygperl5_8_xdll cyg05 add win32core core cyg07 filespeccygwintmpdirpatch bug38628 allow legacy cwdcwd bug40103 filespeccase_tolerantpatch 595 inc perl v588 usrlibperl558cygwin usrlibperl558 usrlibperl5site_perl58cygwin usrlibperl5site_perl58 usrlibperl5site_perl58 usrlibperl5vendor_perl58cygwin usrlibperl5vendor_perl58 usrlibperl5vendor_perl58 environment perl v588 homecygdrivedusers120181cyghome lang unset language unset ld_library_path unset logdir unset pathusrlocalbinusrbinbincygdrivecprogra1gnuwincvseclipsecygdrivecabsoft90bin cygdrivedusers120181cyghomescriptsusrx11r6binusrlocalbinusrlocalbinusrbinbi nusrlocalbinusrbinbinusrx11r6bincygdrivecprogram filesmicrosoft visual studiocommontoolscygdrivecprogram filesmicrosoft visual studiocommonmsdev98bincygdrivecprogram filesmicrosoft visual studiodf98bincygdrivecprogram filesmicrosoft visual studiovc98bincygdrivecwindowssystem32cygdrivecwindowscygdrivecwindowssystem32wbem cygdrivecprogram filesati technologiesati control panelcygdrivecprogram fileswrqrsecurecygdrivecprogram filesreflectioncygdrivecprogram filesdiskeeper corporationdiskeepercygdrivecprogram filesidm computer solutionsultraedit32cygdrivecprogram filescommon filesadobeaglcygdrivecprogram filesquicktimeqtsystemcygdrivecprogram filescommon filesroxio shared dllsharedcygdrivecprogram filesmicrosoft visual studiocommontoolswinntcygdrivecprogram filesmicrosoft visual studiocommonmsdev98bincygdrivecprogram filesmicrosoft visual studiocommontoolscygdrivecprogram filesmicrosoft visual studiovc98bincygdrivecprogram filesidm computer solutionsultracompareusrliblapackusrlocalbingraphvizbinusrlocalbindefaultintelcygw incygdrivedusers120181mydocu1eospac6sourcescripts perl_badlang unset shellbintcsh thu 07 aug 2008 021924 0700 perl 47087 scientific notation parsingconversion problems