Hi,

The traditional way would to be to store the high/low 64 bits into two 64
bit ints, or to use four 32 bit ints.  That will make math more complex for
ranges but it is workable, might need some app-side math too.  John may be
able to provide other solutions.

--Justin

On Tue, Feb 16, 2016 at 9:11 PM, Ian Pye <[email protected]> wrote:

> All,
>
> I'm looking for a way to store IPv6 addresses in fastbit. The catch is
> that they are 128 bits wide. I could use a blob type, but then nice
> operations like > and < don't work. I'm wondering if anyone has done
> this, and if so what techniques worked.
>
> Best,
>
> Ian
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
>
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to