Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,34 @@
|
||||
module strconv
|
||||
|
||||
// pow of ten table used by n_digit reduction
|
||||
const ten_pow_table_64 = [
|
||||
u64(1),
|
||||
u64(10),
|
||||
u64(100),
|
||||
u64(1000),
|
||||
u64(10000),
|
||||
u64(100000),
|
||||
u64(1000000),
|
||||
u64(10000000),
|
||||
u64(100000000),
|
||||
u64(1000000000),
|
||||
u64(10000000000),
|
||||
u64(100000000000),
|
||||
u64(1000000000000),
|
||||
u64(10000000000000),
|
||||
u64(100000000000000),
|
||||
u64(1000000000000000),
|
||||
u64(10000000000000000),
|
||||
u64(100000000000000000),
|
||||
u64(1000000000000000000),
|
||||
u64(10000000000000000000),
|
||||
]!
|
||||
|
||||
//=============================================================================
|
||||
// Conversion Functions
|
||||
//=============================================================================
|
||||
const mantbits64 = u32(52)
|
||||
const expbits64 = u32(11)
|
||||
const bias64 = 1023 // f64 exponent bias
|
||||
|
||||
const maxexp64 = 2047
|
||||
Reference in new issue
Block a user