Commit Graph

22 Commits (e9de30373fe1e25481f6a3bbad82033379ecf1bd)

Author SHA1 Message Date
Delyan Angelov 7db6d602de
tools: vfmt math_test.v and remove it from the exceptions in vtest-cleancode.v 2021-05-08 14:46:06 +03:00
Cabral b5afa049e9
math: sign function (#10014) 2021-05-08 14:32:18 +03:00
Ulises Jeremias Cornejo Fandos 5e02f6358c
math: add a test suite taken from vsl/vmath (#9280) 2021-03-13 09:05:02 +02:00
spaceface777 624005bbd0
tcc_win: fix tests 2020-06-19 12:54:56 +02:00
Uwe Krüger fd4d28b7b6
tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
vamsi-shankar 715d4f6601
math: copysign() 2020-03-28 18:32:38 +01:00
penguindark 39429f7ac9
atof: lots of fixes
* removed sprintf for f64 and f32 use

* removed all pointers from the code, used unions instead

* solved module name problem

* fixed tests on vlib/math

* fix for alpine-linux math test

* small fix on byte allocation for ftoa
2020-02-26 12:14:06 +01:00
Ulises Jeremias Cornejo Fandos 1277ce22f8 math: factorial submodule 2019-12-27 06:08:17 +03:00
Alexander Medvednikov 1679457f6b clean up math_test.v 2019-12-19 22:16:10 +03:00
Ulises Jeremias Cornejo Fandos b31ec4ca9a math: add factorial function (via factorial table) 2019-12-03 11:34:26 +03:00
Delyan Angelov 7545ea709a enable alpine/musl CI tests 2019-11-28 11:46:52 +03:00
Alexander Medvednikov 0f0bef2d33 parser: more typing checks 2019-11-06 20:47:03 +03:00
Alexander Medvednikov 6a812f7293 mod operator tests 2019-11-06 18:04:48 +03:00
hazohelet 6d483c0a56 parser: float1 == float2 uses machine epsilon by default 2019-09-29 18:27:53 +03:00
hazohelet fd2d9c214c f64: fix .eq() 2019-09-28 14:04:03 +03:00
Alexander Medvednikov 34e0b164eb make function arguments immutable by default 2019-08-07 08:59:00 +02:00
vitalyster 375bc1352c f64.eq()
fixes float comparison tests
2019-07-31 09:20:40 +02:00
Yash Tripathi 982496ffce math: faster factorial function 2019-07-17 00:03:51 +02:00
Koustav Chowdhury 08866f1331 math : add error and gamma functions; sort all functions 2019-07-12 07:46:40 +02:00
RustemB cd4fe63355 math: digits function; SqrtTau; extra spaces; re writed doc's to correct form; test for factorial 2019-07-02 19:19:02 +02:00
Dinar Garipov f4f1622528 vlib: update and cleanup tests + fix PR template 2019-06-29 22:49:57 +02:00
Rustem B 7eab373922 math: gcd and lcm functions 2019-06-29 17:24:55 +02:00