question: public static byte [ ] hashToBytes ( double datum , long seed ) { double d = ( datum == 0.0 ) ? 0.0 : datum ; long [ ] data = { Double . doubleToLongBits ( d ) } ; return toByteArray ( hash ( data , seed ) ) ; }
target:  Hash a double and long seed.