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

fix the build

This commit is contained in:
Alexander Medvednikov
2019-10-11 06:57:08 +03:00
parent 726aaecc46
commit a280e98d7f
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ pub fn (a f64) eq(b f64) bool {
return C.fabs(a - b) <= C.DBL_EPSILON
}
pub fn (a f32) eq(b f32) bool {
return C.fabs(a - b) <= C.FLT_EPSILON
return C.fabsf(a - b) <= C.FLT_EPSILON
}
pub fn (a f64) eqbit(b f64) bool {
return C.DEFAULT_EQUAL(a, b)