text_combined: rick delaney hfvobortca oct 02 2007 zefram wrote perl configured 64bit integers 64bit floats 152 bits significand perl lwe package t0 sub mynum 36028797018963971 use overload 0 mynum print intt0mynum print intbless t0 36028797018963971 36028797018963968 36028797018963971 2553 salient feature native integer cant exactly represented native float returned 0 overload function unnecessarily lossily coerced float coercion doesnt happen return value t0mynum goes directly int without going via overloading system problem arg passed int checked iok integer reference treated float nv currently actually calls mynum twice second int call attached patch fixes fix problem although couldnt test directly added tests calltwice problem wasnt sure add one 64bit int issue rick delaney hfvobortca wed 06 aug 2008 004813 0400 patch perl 46011 overload 0 doesnt handle integer results