1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

backporting: remove redefinition of strconv__Float64u

This commit is contained in:
Delyan Angelov
2020-10-07 11:06:52 +03:00
parent 3d0f4fd756
commit 317a9bae5f
10 changed files with 64 additions and 65 deletions

View File

@@ -1,3 +1,4 @@
module strconv
/*
atof util
@@ -17,17 +18,6 @@ Grzegorz Kraszewski krashan@teleinfo.pb.edu.pl
URL: http://krashan.ppa.pl/articles/stringtofloat/
Original license: MIT
*/
module strconv
union Float64u {
mut:
f f64
u u64
}
/*
96 bit operation utilities
Note: when u128 will be available these function can be refactored
@@ -162,13 +152,6 @@ Support struct
*/
// The structure is filled by parser, then given to converter.
pub struct PrepNumber {
pub mut:
negative bool // 0 if positive number, 1 if negative
exponent int // power of 10 exponent
mantissa u64 // integer mantissa
}
/*
String parser