Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

eightbyte Union Reference


Detailed Description

Structure for shuffling eight-byte values.

This structure handles both real types rlong rdouble and Java types jlong and jdouble

Load into one of _rulval, _rdval, _julval, or _jdval, respectively, and extract as two unsigned integers from _intval or as bytes from _byteval. Any combination of loading and storing is permissible, although only certain combinations are useful for a given context. (Namely, storing as jdouble and extracting as two ruint values doe not really make much sense.)

Definition at line 133 of file bytegames.c.

Data Fields

struct {
   rbyte   a
   rbyte   b
   rbyte   c
   rbyte   d
   rbyte   e
   rbyte   f
   rbyte   g
   rbyte   h
_byteval
 Unsigned byte representation.
struct {
   fourbyte   ls
   fourbyte   ms
_intval
 Unsigned int representation.
rdouble _jdval
 Java double representation.
rulong _julval
 Java unsigned long long representation.
rdouble _rdval
 Real double representation.
rulong _rulval
 Real unsigned long long representation.


Field Documentation

rulong eightbyte::_rulval
 

Real unsigned long long representation.

Definition at line 135 of file bytegames.c.

Referenced by bytegames_getrl8(), bytegames_mix8(), bytegames_putrl8(), and bytegames_swap8().

rdouble eightbyte::_rdval
 

Real double representation.

Definition at line 137 of file bytegames.c.

rulong eightbyte::_julval
 

Java unsigned long long representation.

Definition at line 139 of file bytegames.c.

Referenced by bytegames_combine_jlong(), and bytegames_split_jlong().

rdouble eightbyte::_jdval
 

Java double representation.

Definition at line 141 of file bytegames.c.

Referenced by bytegames_combine_jdouble(), and bytegames_split_jdouble().

fourbyte eightbyte::ms
 

Definition at line 146 of file bytegames.c.

fourbyte eightbyte::ls
 

Definition at line 147 of file bytegames.c.

struct { ... } eightbyte::_intval
 

Unsigned int representation.

Referenced by bytegames_combine_jdouble(), bytegames_combine_jlong(), bytegames_split_jdouble(), and bytegames_split_jlong().

rbyte eightbyte::a
 

Definition at line 157 of file bytegames.c.

rbyte eightbyte::b
 

Definition at line 158 of file bytegames.c.

rbyte eightbyte::c
 

Definition at line 159 of file bytegames.c.

rbyte eightbyte::d
 

Definition at line 160 of file bytegames.c.

rbyte eightbyte::e
 

Definition at line 161 of file bytegames.c.

rbyte eightbyte::f
 

Definition at line 162 of file bytegames.c.

rbyte eightbyte::g
 

Definition at line 163 of file bytegames.c.

rbyte eightbyte::h
 

Definition at line 164 of file bytegames.c.

struct { ... } eightbyte::_byteval
 

Unsigned byte representation.

Referenced by bytegames_getrl8(), bytegames_mix8(), bytegames_putrl8(), and bytegames_swap8().


The documentation for this union was generated from the following file:
Generated on Fri Sep 30 18:50:51 2005 by  doxygen 1.4.4