Alexander Medvednikov
|
1679457f6b
|
clean up math_test.v
|
2019-12-19 22:16:10 +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 |
|
Delyan Angelov
|
7545ea709a
|
enable alpine/musl CI tests
|
2019-11-28 11:46:52 +03:00 |
|
Alexander Medvednikov
|
e9e931fe4a
|
force C function definitions
|
2019-11-24 12:14:22 +03:00 |
|
Daren Liang
|
bd34524a1c
|
fractions: panic when reciprocal produces invalid fraction
|
2019-11-11 23:37:32 +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 |
|
Nicolas Sauzede
|
c8de2c0bd4
|
fix i64 overflow warning
|
2019-11-07 06:00:00 +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 |
|
Alexander Medvednikov
|
f6d06fcda2
|
update tests and examples after the mutability fix
|
2019-11-06 06:57:04 +03:00 |
|
Daren Liang
|
91bb969ed1
|
stats: use c style for loop
|
2019-11-06 04:45:05 +03:00 |
|
Alexander Medvednikov
|
9e9935acbc
|
math: make consts and structs public
|
2019-10-28 16:33:36 +03:00 |
|
joe-conigliaro
|
b32a462b2e
|
math: new consts + helpers funcs for string to int / float
|
2019-10-17 09:04:57 +03:00 |
|
joe-conigliaro
|
280ccfa177
|
math: fns for gettng bit repr of float & vice versa
|
2019-10-16 11:19:03 +03:00 |
|
Simon Heuser
|
a5d61f6da0
|
math.complex: make fields public
|
2019-10-15 12:43:28 +03:00 |
|
Alexander Medvednikov
|
f9593bd857
|
builtin: float.v + remove #include <math.h>
|
2019-10-15 08:41:45 +03:00 |
|
Alexander Medvednikov
|
432e074b4e
|
fix complex_test.v
|
2019-10-12 22:39:18 +03:00 |
|
Alexander Medvednikov
|
a76165828b
|
snake_case consts
|
2019-10-12 22:36:14 +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 |
|
joe-conigliaro
|
a5ea7e4304
|
math.bits: remove extraneous casts
|
2019-09-26 14:14:04 +03:00 |
|
joe-conigliaro
|
7aaf4012e4
|
math.bits: add missing pub to fn's
|
2019-09-23 00:51:03 +03:00 |
|
joe-conigliaro
|
d80a3365c4
|
math.bits: add some more helpers, to be used in upcoming biginteger
|
2019-09-20 17:39:36 +03:00 |
|
Alexander Medvednikov
|
cb31eeec55
|
compiler: first step to require explicit definition of imported C fns
|
2019-09-19 05:16:25 +03:00 |
|
joe-conigliaro
|
f187c35fb2
|
vlib: inline certain functions
|
2019-09-18 15:45:32 +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
|
1c6d51f271
|
remove u8 and i32 from tests and examples
|
2019-09-02 15:02:25 +03:00 |
|
Swastik Baranwal
|
db525524ee
|
string: title() and small fixes
|
2019-08-26 13:32:53 +03:00 |
|
Carlos Esquerdo Bernat
|
cf23c289ec
|
tests: cleanup
|
2019-08-20 11:18:12 +03:00 |
|
Julian Schurhammer
|
1864e92ff4
|
parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly
|
2019-08-10 10:26:42 +02:00 |
|
Julian Schurhammer
|
61983a6799
|
parser: check that functions return in all if/else branches
|
2019-08-08 09:49:56 +02:00 |
|
Emily Hudson
|
802ff1d012
|
compiler: scoped defer + build tests with msvc
|
2019-08-07 17:51:21 +02:00 |
|
Alexander Medvednikov
|
34e0b164eb
|
make function arguments immutable by default
|
2019-08-07 08:59:00 +02:00 |
|
Alexander Medvednikov
|
52f473d1c7
|
all: fix immutable fn args
|
2019-08-07 05:28:00 +02:00 |
|
vitalyster
|
375bc1352c
|
f64.eq()
fixes float comparison tests
|
2019-07-31 09:20:40 +02:00 |
|
Alexander Medvednikov
|
207bab5f79
|
generics, vweb, comptime codegen, etc
|
2019-07-29 18:24:48 +02:00 |
|
Alexander Medvednikov
|
2ac579ca0a
|
wrap up the new mut check
|
2019-07-25 14:13:35 +02:00 |
|
Alexander Medvednikov
|
ceb0139329
|
fix tests
|
2019-07-25 14:06:26 +02:00 |
|
vitalyster
|
fcb1f211e3
|
Windows Unicode I/O
|
2019-07-24 12:16:45 +02:00 |
|
Alexander Medvednikov
|
2291e9fcfe
|
Revert "Windows Unicode support"
This reverts commit 8462e99bc5 .
|
2019-07-24 00:24:34 +02:00 |
|
vitalyster
|
8462e99bc5
|
Windows Unicode support
|
2019-07-23 23:40:24 +02:00 |
|
TillCoyote
|
732099fa08
|
math: hypot()
|
2019-07-23 18:28:30 +02:00 |
|
Archan Patkar
|
7b4c3ec618
|
math/complex: restructuring cmath as a submodule of math
|
2019-07-23 13:35:44 +02:00 |
|
unknown-v
|
981185e42f
|
Windows displays a NaN as -1.#IND
https://stackoverflow.com/a/347940
|
2019-07-23 00:29:47 +02:00 |
|
Alexander Medvednikov
|
23c5f88f3e
|
Revert "Windows Unicode I/O "
This reverts commit 3e005074a3 .
|
2019-07-21 17:29:40 +02:00 |
|