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,5 @@
module strconv
/*
atof util
@@ -16,14 +18,6 @@ Know limitation:
*/
module strconv
union Float64u {
mut:
f f64
u u64
}
// atof_quick return a f64 number from a string in a quick way
pub fn atof_quick(s string) f64 {
mut f := Float64u{} // result