0 branches
Tree
Top files
Clone with HTTPS:
big
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
155.35 KB
bits
math.bits: cleaned up comments, added inline attrs, extra checks for 0, and tests (#27410)
6 days ago
43.77 KB
README.md
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
2 years ago
104 bytes
ROADMAP.md
math: speedup the pure V math.pow implementation for non-fractional powers (#19270)
2 years ago
192 bytes
bits.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
2.15 KB
cbrt.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
1.96 KB
erf.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
11.45 KB
exp.c.v
all: replace `int` with `i32` in `fn C.name(x int) int` declarations (#26522)
last Feb 7
411 bytes
exp.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
4.65 KB
factorial.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
1.46 KB
floor.v
math: rewrite round() to match closely the Go version (and mpfr's one), update test (#26381)
last Jan 18
3.72 KB
gamma.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
7.9 KB
invtrig.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
5.03 KB
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)
1 year ago
843 bytes
log.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
5.34 KB
log_test.v
math: fix math.log10() for `-exclude @vlib/math/*.c.v` (fix #23136) (#23140)
1 year ago
351 bytes
math.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
6.04 KB
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)
1 year ago
8.73 KB
modf.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
675 bytes
modulo_test.v
math: add tests for math.divide_floored, math.divide_euclid, and math.divide_truncated too
last Nov 21
5.93 KB
poly.v
checker: disallow using a preexisting const name in a for loop, as either a key or value ident (#22108)
1 year ago
1.3 KB
sin.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
4.44 KB
sinh.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
1.03 KB
square_test.v
math: add more C. fn overrides, for the default C backend (speed up examples/path_tracing.v) (#19271)
2 years ago
470 bytes
tan.v
checker: warn when a local variable shadows a function declaration (fixes #22685) (#27272)
last May 26
2.38 KB
tanh.v
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
808 bytes
Description
math provides commonly used mathematical functions for
trigonometry, logarithms, etc.