tag:blogger.com,1999:blog-6765159.post3008462764003552363..comments2016-04-25T00:28:49.419-04:00Comments on Once upon a time...: Another (Elegant) Pairing FunctionSachinhttp://www.blogger.com/profile/02611819333408927276noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6765159.post-21056585464055341722012-10-20T07:23:54.044-04:002012-10-20T07:23:54.044-04:00I haven't tried it for longs but I guess using...I haven't tried it for longs but I guess using a double where ulong is used in the above code might work.<br /><br />SSachinhttps://www.blogger.com/profile/02611819333408927276noreply@blogger.comtag:blogger.com,1999:blog-6765159.post-86567179716831665652012-10-19T06:28:54.130-04:002012-10-19T06:28:54.130-04:00Is this only for INTs or LONGs as well? I was tryi...Is this only for INTs or LONGs as well? I was trying to put this code into Java, but the reverse doesn't work for large numbers (Iike 1350642439149, long returned by System.currentTimeMillis())Anonymousnoreply@blogger.com