KJS::SimpleNumber Class Reference
List of all members.Detailed Description
Definition at line 34 of file simple_number.h.
Public Types | |
tag = 1 | |
shift = 2 | |
mask = (1 << shift) - 1 | |
sign = 1L << (sizeof(long) * 8 - 1 ) | |
max = (1L << ((sizeof(long) * 8 - 1) - shift)) - 1 | |
min = -max - 1 | |
imax = (1L << ((sizeof(int) * 8 - 1) - shift)) - 1 | |
imin = -imax - 1 | |
enum | { tag = 1, shift = 2, mask = (1 << shift) - 1, sign = 1L << (sizeof(long) * 8 - 1 ), max = (1L << ((sizeof(long) * 8 - 1) - shift)) - 1, min = -max - 1, imax = (1L << ((sizeof(int) * 8 - 1) - shift)) - 1, imin = -imax - 1 } |
Static Public Member Functions | |
static bool | is (const ValueImp *imp) |
static long | value (const ValueImp *imp) |
static bool | fits (int i) |
static bool | fits (unsigned i) |
static bool | fits (long i) |
static bool | fits (unsigned long i) |
static bool | fits (double d) |
static ValueImp * | make (long i) |
Static Public Attributes | |
static double | negZero = -0.0 |
The documentation for this class was generated from the following files: