v/vlib/math
2025-09-05 16:47:25 +03:00
..
big math.big: replace division with Knuth, improve performance (#25242) 2025-09-05 16:47:25 +03:00
bits math.bits: add asm implementations for some 64 bit ops (#25020) 2025-08-11 09:01:49 +03:00
complex
easing math: add math.easing module, ported from the functions, described in https://nicmulvaney.com/easing and https://easings.net/ (#23251) 2024-12-24 00:46:46 +02:00
fractions all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
internal
stats type_resolver: fix generic selector field type resolving (continuation of #23456) (#23473) 2025-01-15 09:02:46 +02:00
unsigned math.unsigned: replace untested comments for uint256 public APIs (#24873) 2025-07-10 10:36:52 +03:00
vec math.vec: add rotate_around_* (cw/ccw) functions to vec.Vec2[T] (#23807) 2025-02-26 03:46:18 +02:00
abs.js.v
bits.js.v
bits.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
cbrt.js.v
cbrt.v
const.v vlib: remove modules/functions/fields, deprecated in 2023 (#22750) 2024-11-17 20:09:21 +02:00
div.v
erf.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
erf_test.v
exp.c.v
exp.js.v
exp.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
factorial.v
factorial_tables.v
factorial_test.v
floor.js.v
floor.v math: cleanup floor.v, remove the last goto in the math module 2025-02-06 09:29:21 +02:00
gamma.v math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math 2025-03-04 12:19:27 +02:00
gamma_tables.v
hypot.v
interpolation.v math: fix doc comment examples 2025-08-13 18:00:18 +03:00
interpolation_bezier.v math,examples: make 2048 use sliding animation for the tile movement (#23268) 2024-12-26 06:39:59 +02:00
interpolation_test.v math: add exp_decay to interpolation.v (#24545) 2025-05-21 21:30:40 +03:00
invhyp.v
invtrig.js.v
invtrig.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
limit.v markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
log.c.v math: use libc wrappers for math.log2/1, math.log10/1, math.log1p/1 and math.log_b/1; make assert math.log10(10) == 1.0 pass in the common case (#23129) 2024-12-11 12:06:33 +02:00
log.v math: fix math.log10() for -exclude @vlib/math/*.c.v (fix #23136) (#23140) 2024-12-12 23:43:04 +02:00
log_test.v math: fix math.log10() for -exclude @vlib/math/*.c.v (fix #23136) (#23140) 2024-12-12 23:43:04 +02:00
math.c.v
math.v math: add remap/5, smoothstep/3 and smootherstep/3 implementations + tests 2025-03-12 08:53:27 +02:00
math_bench_test.v math: fix ./v -prod -cstrict -cc gcc-11 vlib/math/math_bench_test.v (use unions to implement f64_bits/1 and f64_from_bits/1 for compilers != tcc) 2025-03-08 12:28:25 +02:00
math_test.v math: fix math.log10() for -exclude @vlib/math/*.c.v (fix #23136) (#23140) 2024-12-12 23:43:04 +02:00
min_max_abs.v
min_max_abs_test.v
modf.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
modulo.v fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
modulo_test.v
nextafter.v
poly.v checker: disallow using a preexisting const name in a for loop, as either a key or value ident (#22108) 2024-08-24 02:16:28 +03:00
pow.c.v
pow.v math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math 2025-03-04 12:19:27 +02:00
q_rsqrt.v math: document q_rsqrt 2024-09-24 04:33:46 +03:00
README.md
ROADMAP.md
scalbn.v
sin.c.v
sin.js.v
sin.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
sinh.js.v
sinh.v
sqrt.c.v
sqrt.v
square.v
square_test.v
tan.c.v
tan.js.v
tan.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
tanh.js.v
tanh.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
unsafe.js.v
unsafe.v math: fix ./v -prod -cstrict -cc gcc-11 vlib/math/math_bench_test.v (use unions to implement f64_bits/1 and f64_from_bits/1 for compilers != tcc) 2025-03-08 12:28:25 +02:00

Description

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