aboutsummaryrefslogtreecommitdiff
path: root/docs/notes/number_types.txt
blob: 7cf5652bedc7a108b521c676b8af0906061bbc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19



                  signed   unsigned    field*   float 
----------------+---------------------------------------
      default** |   int     count       gf      float   
          8-bit |   int8    byte        gf8      ---    
         16-bit |   int16   uint16      gf16    float16 
         32-bit |   int32   uint32      gf32    float32 
         64-bit |   int64   uint64      gf64    float64 
        128-bit |   int128  uint128     gf128   float128
  C short/float |   short   ushort      gfshort cfloat  
   C int/double |   int     uint        gfint   cdouble 
C long (double) |   long    ulong       gflong  cl.d.   
    C long long |   l.l.    ul.l.       gfl.l.   ---    


 * Galois field (or an unsigned integer that allows overflows)
** int = C int, count = C size_t, gf&float = largest/best/native for platform