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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user