Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cell_type_type [2012/11/28 19:02]
admin [Cell Type]
cell_type_type [2015/10/11 22:02]
admin
Line 4: Line 4:
  
 ^ Cell Type ^ Domain ^ Cell Size ^ Signed ^ Minimum Value ^ Maximum Value ^ Default Null ^  ^ Cell Type ^ Domain ^ Cell Size ^ Signed ^ Minimum Value ^ Maximum Value ^ Default Null ^ 
-Unsigned ​1 Bit Integer ​ | Integer ((can represent only integer values)) ​ | 1 bit  | No  | 0  | 1  | 0  |+| 1 Bit Integer ​ | Integer ((can represent only integer values)) ​ | 1 bit  | No  | 0  | 1  | 0  |
 | Signed 8 Bit Integer ​ | :::  | 1 byte  | Yes ((can represent positive and negative values)) ​ | -128  | 127  | -128  | | Signed 8 Bit Integer ​ | :::  | 1 byte  | Yes ((can represent positive and negative values)) ​ | -128  | 127  | -128  |
 | Unsigned 8 Bit Integer ​ | :::  | 1 byte  | No ((can represent only positive values)) ​ | 0  | 255  | 0  | | Unsigned 8 Bit Integer ​ | :::  | 1 byte  | No ((can represent only positive values)) ​ | 0  | 255  | 0  |
Line 13: Line 13:
 | IEEE 754 32 Bit Real((A value represented in this format usually have only 7 [[wp>​Significant_figures|significant digits]])) ​ | Real ((can represent fractional and integer values)) ​ | 4 bytes  | Yes ((can represent positive and negative values)) ​ | -3.4028235*10<​sup>​38</​sup> ​ | 3.4028235*10<​sup>​38</​sup> ​ | -9999  | | IEEE 754 32 Bit Real((A value represented in this format usually have only 7 [[wp>​Significant_figures|significant digits]])) ​ | Real ((can represent fractional and integer values)) ​ | 4 bytes  | Yes ((can represent positive and negative values)) ​ | -3.4028235*10<​sup>​38</​sup> ​ | 3.4028235*10<​sup>​38</​sup> ​ | -9999  |
  
-A cell type value can also be created from integral values, like [[Int Type|Integer]],​ [[Positive ​Int Type|Positive Integer]], [[Non Negative ​Int Type|Non Negative Integer]] etc, and from real values, like [[Double ​Type|Double]]. The mapping of numeric values and their corresponding cell type values can be seen below:+A cell type value can also be created from integral values, like [[Integer Value Type|Integer ​Value]], [[Positive ​Integer Value Type|Positive Integer ​Value]], [[Non Negative ​Integer Value Type|Non Negative Integer ​Value]] etc, and from real values, like [[Real Value Type|Real Value]]. The mapping of numeric values and their corresponding cell type values can be seen below:
  
 ^ Numeric Value  ^ Cell Type  ^  ^ Numeric Value  ^ Cell Type  ^ 
-| 0  | Unsigned ​1 Bit Integer ​ |+| 0  | 1 Bit Integer ​ |
 | 1  | Signed 8 Bit Integer ​ | | 1  | Signed 8 Bit Integer ​ |
 | 2  | Unsigned 8 Bit Integer ​ | | 2  | Unsigned 8 Bit Integer ​ |
Line 25: Line 25:
 | 7  | IEEE 754 32 Bit Real  | | 7  | IEEE 754 32 Bit Real  |
  
-It is worth noting that the definition of maps with cell type “Unsigned ​1 Bit Integer” helps saving memory, but it also has a huge negative impact in performance.+It is worth noting that the definition of maps with cell type “1 Bit Integer” helps saving memory, but it also has a huge negative impact in performance. 
 ===== GUI Editor ===== ===== GUI Editor =====
  
Line 35: Line 36:
  
 ^ Cell Type ^ Representation ^  ^ Cell Type ^ Representation ^ 
-Unsigned ​1 Bit Integer ​ | ''​.uint1'' ​ |+| 1 Bit Integer ​ | ''​.uint1'' ​ |
 | Signed 8 Bit Integer ​ | ''​.int8'' ​ | | Signed 8 Bit Integer ​ | ''​.int8'' ​ |
 | Unsigned 8 Bit Integer ​ | ''​.uint8'' ​ | | Unsigned 8 Bit Integer ​ | ''​.uint8'' ​ |
Line 44: Line 45:
 | IEEE 754 32 Bit Real  | ''​.float32'' ​ | | IEEE 754 32 Bit Real  | ''​.float32'' ​ |
  
 +===== Automatic Conversions =====
 +
 +  * **Converted from**: [[Real Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]] and [[Integer Value Type]].
 +
 +  * **Converted to**: None.