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

math: remove the C backend for f64 functions (#12121)

This commit is contained in:
Ulises Jeremias Cornejo Fandos
2021-10-10 05:21:48 -03:00
committed by GitHub
parent 83bc9b35b1
commit 0f7dfb984a
13 changed files with 0 additions and 187 deletions

View File

@@ -1,15 +1,7 @@
module math
fn C.sqrt(x f64) f64
fn C.sqrtf(x f32) f32
// sqrt calculates square-root of the provided value.
[inline]
pub fn sqrt(a f64) f64 {
return C.sqrt(a)
}
// sqrtf calculates square-root of the provided value. (float32)
[inline]
pub fn sqrtf(a f32) f32 {