[jira] Commented: (IO-101) The method EndianUtils.writeSwappedDouble() and EndianUtils.readSwappedDouble() do not match!

2006-12-06 Thread Robert Michel (JIRA)
[ http://issues.apache.org/jira/browse/IO-101?page=comments#action_12456131 ] Robert Michel commented on IO-101: -- Henri, I came across this bug just yesterday and saw your patch today. Separately, I had come up with an alternate fix which you

[jira] Commented: (IO-101) The method EndianUtils.writeSwappedDouble() and EndianUtils.readSwappedDouble() do not match!

2006-12-05 Thread JIRA
[ http://issues.apache.org/jira/browse/IO-101?page=comments#action_12455804 ] José Pinto commented on IO-101: --- Thanks Henri! I also think this should be fixed as soon as possible because it's a very difficult problem to track. I noticed only becau

[jira] Commented: (IO-101) The method EndianUtils.writeSwappedDouble() and EndianUtils.readSwappedDouble() do not match!

2006-12-05 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/IO-101?page=comments#action_12455796 ] Henri Yandell commented on IO-101: -- [That has to be the most annoying thing I'd done a beautiful write up as I worked through this and the damn machine froze... I

[jira] Commented: (IO-101) The method EndianUtils.writeSwappedDouble() and EndianUtils.readSwappedDouble() do not match!

2006-12-05 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/IO-101?page=comments#action_12455776 ] Henri Yandell commented on IO-101: -- Yup. The code is based on two things - the Double.longBitsToDouble pair of methods and the readSwappedLong pair of methods. The fo

[jira] Commented: (IO-101) The method EndianUtils.writeSwappedDouble() and EndianUtils.readSwappedDouble() do not match!

2006-12-05 Thread JIRA
[ http://issues.apache.org/jira/browse/IO-101?page=comments#action_12455586 ] José Pinto commented on IO-101: --- I tried using the java.nio Buffer for the same purpose and it worked as expected. Maybe we should look for differences in the code. > T