diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-03-14 14:36:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-03-14 14:36:56 +0000 |
commit | c3440b1f32c506629998b3a0e47928f91d037640 (patch) | |
tree | 34f2ca0abb980ba01ad3775fab50b57bb40c541b /bits.c | |
parent | 4ca780c3718e2f69436f6e1ed0cc002a4be9b67b (diff) | |
download | gpsd-c3440b1f32c506629998b3a0e47928f91d037640.tar.gz |
Document length limit on bitfield processing.
Diffstat (limited to 'bits.c')
-rw-r--r-- | bits.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,8 +1,9 @@ /* $Id$ */ /* - * Bitfield extraction functions. In each, start is a bit index (not a byte - * index) and width is a bit width (bounded above by the bit width of long - * long). + * Bitfield extraction functions. In each, start is a bit index (not + * a byte index) and width is a bit width. The width bounded above by + * the bit width of a long long, which s 64 bits in all standard data + * models for 64-bit processors. * * The sbits() function assumes twos-complement arithmetic. */ |