incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: CQL decimal encoding
Date Mon, 24 Feb 2014 17:25:18 GMT
Not sure what you mean by the question.

Are you talking about the structure of BigDecimal in java? If that is your
question, the java's BigDecimal uses the first 4 bytes for scale and
remaining bytes for BigInteger




On Mon, Feb 24, 2014 at 10:47 AM, Ben Hood <0x6e6562@gmail.com> wrote:

> Hi,
>
> I'd like to implement decimal encoding for gocql but I'm wondering
> what this should be compatible with. Is there some kind of wire format
> that arbitrary precision numbers should adhere to to ensure
> interoperability?
>
> Cheers,
>
> Ben
>

Mime
View raw message