Re: Why no DoubleWritable?

2008-02-05 Thread Enis Soztutar
Hi, The reason may be that perhaps nobody needed the extra precision brought by double compansating the extra space, compared to FloatWritable. If you really need DoubleWritable you may write the class, which will be straightforward, and then attach it to a jira issue so that we can add it to

Why no DoubleWritable?

2008-02-05 Thread Jimmy Lin
Hi guys, What's the design decision for not implementing a DoubleWritable type that implements WritableComparable? I noticed that there are classes corresponding to all Java primitives except for double. Thanks in advance, Jimmy