Delyan Angelov
|
e983d75b64
|
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 |
|
Turiiya
|
1a35a783f1
|
breaking,checker: disallow initializing private struct fields outside structs module (#21183)
|
2024-04-12 13:53:02 +03:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Sudoer
|
5c37c312b0
|
builtin,math: add more missing doc strings for public functions (#19509)
|
2023-10-05 00:35:37 +03:00 |
|
Sudoer
|
db0808c6c9
|
math: fix documentation for math.radians, math.degrees and math.aprox_cos (#19504)
|
2023-10-04 12:19:00 +03:00 |
|
Delyan Angelov
|
3e93a13ed8
|
math: fix failing test on FreeBSD with gcc 12.2.0 (and -ffast-math) (#19278)
|
2023-09-06 07:30:46 +03:00 |
|
Michael Charlton
|
8a0cca2255
|
math: correct documentation error for math.signi, make it match the fn signature (#18872)
|
2023-07-18 17:25:47 +03:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
David 'Epper' Marshall
|
524df8da1b
|
math: add zpl stuff (#14543)
|
2022-06-21 00:17:49 +03:00 |
|
David 'Epper' Marshall
|
120f31b4d9
|
math: update documentation (#14457)
|
2022-05-20 08:45:54 +03:00 |
|
kylepritchard
|
a8f6574471
|
math: allow i64 in digits function and add count_digits function (#13729)
|
2022-03-14 10:41:01 +02:00 |
|
Delyan Angelov
|
59357e873d
|
math: move the math.mathutil generic min /max /abs fns to math (#13042)
|
2022-01-05 18:02:20 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
|
czkz
|
29f068997b
|
math: add fn clamp (#12205)
|
2021-10-17 06:42:40 +03:00 |
|
czkz
|
396eede4db
|
math: fix typos (#11533)
|
2021-09-18 12:23:31 +03:00 |
|
Ulises Jeremias Cornejo Fandos
|
1cfc4198f5
|
vlib/math: Add a pure V backend for vlib/math (#11267)
|
2021-08-23 00:35:28 +03:00 |
|
Miccah
|
d235de63e2
|
math: add egcd function implementing the extended Euclidean algorithm (#11203)
|
2021-08-16 11:49:50 +03:00 |
|
Delyan Angelov
|
900c37aa65
|
v.gen.c: support T.typ - an int for the type index of the generic type T (#11175)
|
2021-08-14 08:48:25 +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 |
|
Delyan Angelov
|
efca21e988
|
math: cleanup math.v, document math.aprox_cos and math.aprox_sin
|
2021-02-27 11:18:43 +02:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Delyan Angelov
|
5d4cce3e95
|
ci: fix failing tests
|
2020-10-15 15:42:16 +03:00 |
|
Alexander Medvednikov
|
c3fe2135a4
|
math.fabs
|
2020-05-14 16:58:20 +02:00 |
|
Major Taylor
|
7d32476841
|
math: extract platform specific wrapper functions to math.c.v and math.js.v
|
2020-05-07 08:47:24 +03:00 |
|
eyelash
|
b495dac780
|
fix a few warnings
Good find, @eyelash .
|
2020-04-26 12:42:44 +03:00 |
|
vamsi-shankar
|
715d4f6601
|
math: copysign()
|
2020-03-28 18:32:38 +01:00 |
|
Alexander Medvednikov
|
eed7c91e87
|
move compiler tests from compiler/ to v/
|
2020-03-27 18:01:46 +01:00 |
|
Nicolas Sauzede
|
30f905999a
|
math: add powf and other float32 functions
|
2020-02-26 13:31:54 +01:00 |
|
Nicolas Sauzede
|
d51c159160
|
math: add sqrtf
|
2020-02-10 18:48:44 +01:00 |
|
joe-conigliaro
|
7f709c3285
|
update copyright years
|
2020-02-03 05:00:36 +01:00 |
|
Leah Lundqvist
|
ed55778d2a
|
math: fast aprox cos and sin
|
2020-01-29 05:12:43 +01:00 |
|
Ulises Jeremias Cornejo Fandos
|
1277ce22f8
|
math: factorial submodule
|
2019-12-27 06:08:17 +03:00 |
|
Alexander Medvednikov
|
a251db068f
|
run vfmt on math and sha; add vfmt check to test-compiler
|
2019-12-22 02:50:20 +03:00 |
|
Kaito Sugimoto
|
9dd86a2de6
|
math: fix abs (-0.0)
|
2019-12-15 19:37:17 +03:00 |
|
Alexander Medvednikov
|
ad6adf327e
|
vlib: fix missing else{} in match statements
|
2019-12-07 17:23:37 +03:00 |
|
Ulises Jeremias Cornejo Fandos
|
b31ec4ca9a
|
math: add factorial function (via factorial table)
|
2019-12-03 11:34:26 +03:00 |
|
Alexander Medvednikov
|
e9e931fe4a
|
force C function definitions
|
2019-11-24 12:14:22 +03:00 |
|
Daren Liang
|
91896af877
|
math: digits panic for invalid base
|
2019-11-11 05:21:47 +03:00 |
|
Delyan Angelov
|
a44ba0b8a2
|
bignum module wrapper for kokke/tiny-bignum-c
|
2019-11-07 22:04:18 +03:00 |
|
pfefferminz132
|
b9e7d02462
|
math: make ceil return an f64
|
2019-11-07 19:54:51 +03:00 |
|
joe-conigliaro
|
b32a462b2e
|
math: new consts + helpers funcs for string to int / float
|
2019-10-17 09:04:57 +03:00 |
|
Alexander Medvednikov
|
f9593bd857
|
builtin: float.v + remove #include <math.h>
|
2019-10-15 08:41:45 +03:00 |
|
Alexander Medvednikov
|
a76165828b
|
snake_case consts
|
2019-10-12 22:36:14 +03:00 |
|
Alexander Medvednikov
|
cb31eeec55
|
compiler: first step to require explicit definition of imported C fns
|
2019-09-19 05:16:25 +03:00 |
|
Alexander Medvednikov
|
19b04d5427
|
math: fix const warnings
|
2019-09-16 22:49:18 +03:00 |
|
Vitor Oliveira
|
1a099c9284
|
vlib: fix several typos
|
2019-09-14 23:54:14 +03:00 |
|
Alexander Medvednikov
|
34e0b164eb
|
make function arguments immutable by default
|
2019-08-07 08:59:00 +02:00 |
|