Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cell_type_type [2013/08/08 22:06] 127.0.0.1 external edit |
cell_type_type [2018/03/06 18:56] (current) hermann [Automatic Conversions] |
||
---|---|---|---|
Line 12: | Line 12: | ||
| Unsigned 32 Bit Integer | ::: | 4 bytes | Yes ((can represent only positive values)) | 0 | 4294967295 | 0 | | | Unsigned 32 Bit Integer | ::: | 4 bytes | Yes ((can represent only positive values)) | 0 | 4294967295 | 0 | | ||
| 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 | | ||
+ | | IEEE 754 64 Bit Real((A value represented in this format usually have only 16 [[wp>Significant_figures|significant digits]])) | Real ((can represent fractional and integer values)) | 8 bytes | Yes ((can represent positive and negative values)) | -2.2250738585072014*10<sup>308</sup> | 2.2250738585072014*10<sup>308</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 ^ | ||
Line 24: | Line 25: | ||
| 6 | Unsigned 32 Bit Integer | | | 6 | Unsigned 32 Bit Integer | | ||
| 7 | IEEE 754 32 Bit Real | | | 7 | IEEE 754 32 Bit Real | | ||
+ | | 8 | IEEE 754 64 Bit Real | | ||
- | 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. | + | 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. On the other hand, the use the cell type "IEEE 754 64 Bit Real" uses way more memory than any other cell type. |
===== GUI Editor ===== | ===== GUI Editor ===== | ||
Line 44: | Line 46: | ||
| Unsigned 32 Bit Integer | ''.uint32'' | | | Unsigned 32 Bit Integer | ''.uint32'' | | ||
| IEEE 754 32 Bit Real | ''.float32'' | | | IEEE 754 32 Bit Real | ''.float32'' | | ||
+ | | IEEE 754 64 Bit Real | ''.float64'' | | ||
===== Automatic Conversions ===== | ===== Automatic Conversions ===== | ||
- | * **Converted from**: [[Int Type]], [[Non Negative Int Type]], [[Positive Int Type]] and [[Double Type]]. | + | * **Converted from**: [[Real Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]] and [[Integer Value Type]]. |
- | + | ||
- | * **Converted to**: None. | + | |
+ | * **Converted to**: [[Real Value Type]], [[Non Negative Integer Value Type]], [[Positive Integer Value Type]] and [[Integer Value Type]]. | ||