1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/math
Subhomoy Haldar 8759409a69
math.big: fix min i32 value bug (#17775)
* attempt big int min value fix

* cast value for correct comparison

* update edge case

* add one more test
2023-03-26 08:45:42 +03:00
..
big math.big: fix min i32 value bug (#17775) 2023-03-26 08:45:42 +03:00
bits rand: add full precision f32 and f64 random functions; fix f32/f64 multipliers (#16875) 2023-01-19 15:21:47 +02:00
complex math.complex: make mutable the Complex.re and Complex.im fields (#13540) 2022-02-21 12:39:45 +02:00
fractions vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
internal vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
stats all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
unsigned crypto, math: change option to result (#17580) 2023-03-10 10:31:05 +02:00
vec math: add math.vec module with generic 2D, 3D and 4D vector operations (#16710) 2022-12-19 18:10:48 +02:00
abs.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
abs.v math: move the math.mathutil generic min/max/abs fns to math (#13042) 2022-01-05 18:02:20 +02:00
bits.js.v math: inf,nan,fmod for the JS backend (#11246) 2021-08-20 01:14:49 +03:00
bits.v all: update copyright year 2022-01-04 12:21:12 +03:00
cbrt.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
cbrt.v math: cbrt fix (#14395) 2022-05-14 21:06:38 +03:00
const.v builtin,math: fix math.min_i64.str() (fix #16086) (#16089) 2022-10-17 19:36:46 +03:00
div.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
erf_test.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
erf.v math: rename small to small_ to prevent C errors (workaround unescaped C labels) (#12796) 2021-12-11 19:35:40 +02:00
exp.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
exp.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
factorial_tables.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
factorial_test.v math: sqrti, powi, factoriali (#12072) 2021-10-08 22:07:44 +03:00
factorial.v math: fix typo in factorial.v (#17322) 2023-02-15 19:57:37 +02:00
floor.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
floor.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
gamma_tables.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
gamma.v cgen: use c_name() for escaping goto label names too 2021-12-11 19:41:44 +02:00
hypot.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
invhyp.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
invtrig.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
invtrig.v math: allow acos(0) (fix #13876) (#13877) 2022-03-30 21:36:50 +03:00
log.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
math_bench_test.v time: add custom formatter (#14202) 2022-04-29 15:57:08 +03:00
math_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
math.c.v all: update copyright year 2022-01-04 12:21:12 +03:00
math.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
min_max_abs_test.v math: remove the deprecated math.mathutil module too 2022-11-29 14:56:40 +02:00
min_max_abs.v math: remove the deprecated math.mathutil module too 2022-11-29 14:56:40 +02:00
modf.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
nextafter.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
poly.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
pow.c.v math: implement pow in pure V (#12105) 2021-10-08 17:44:55 +03:00
pow.v math: sqrti, powi, factoriali (#12072) 2021-10-08 22:07:44 +03:00
q_rsqrt.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
ROADMAP.md vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
scalbn.v math: implement pow in pure V (#12105) 2021-10-08 17:44:55 +03:00
sin.c.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
sin.js.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
sin.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
sinh.js.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
sinh.v math: update documentation (#14457) 2022-05-20 08:45:54 +03:00
sqrt.c.v math: remove the C backend for f64 functions (#12121) 2021-10-10 11:21:48 +03:00
sqrt.v math: sqrti, powi, factoriali (#12072) 2021-10-08 22:07:44 +03:00
tan.c.v math: remove the C backend for f64 functions (#12121) 2021-10-10 11:21:48 +03:00
tan.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
tan.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
tanh.js.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
tanh.v vlib/math: Add a pure V backend for vlib/math (#11267) 2021-08-23 00:35:28 +03:00
unsafe.js.v math: implement pow in pure V (#12105) 2021-10-08 17:44:55 +03:00
unsafe.v all: update copyright year 2022-01-04 12:21:12 +03:00

Description:

math provides commonly used mathematical functions for trigonometry, logarithms, etc.