Commit graph

67 commits

Author SHA1 Message Date
kbkpbot
53dbb562c9 fix android clang does not support =d constraint 2025-08-08 15:37:01 +08:00
kbkpbot
029e1f885e debug macos-14 2025-08-08 14:56:54 +08:00
kbkpbot
928b41e180 debug macos-14 2025-08-08 14:42:14 +08:00
kbkpbot
a5114893a7 fix arm64 2025-08-08 14:04:22 +08:00
kbkpbot
de303701f5 fix tcc/windows 2025-08-08 13:47:07 +08:00
kbkpbot
d0585bd1fd fix for tcc/windows, android 2025-08-08 13:39:30 +08:00
kbkpbot
7c362194b3 add .amd64, .arm64, .c.v files 2025-08-08 11:41:30 +08:00
kbkpbot
6c72febec1 fix js backend 2025-08-01 22:53:24 +08:00
kbkpbot
4427ed1875 fix tcc windows 2025-08-01 22:47:43 +08:00
kbkpbot
6d7dacf9e2 math.bits: add asm imp for some 64 ops 2025-08-01 21:53:58 +08:00
Delyan Angelov
ace5df7236
ci: workaround -usecache issue afte 2d87ac4 2025-07-27 20:24:13 +03:00
Delyan Angelov
66946738fb
tests: fix some of the notices/warnings/errors discovered through find . |grep _test.v$ |xargs -i ./v -g -keepc -skip-running {} 2025-07-24 07:38:03 +03:00
Laurent Cheylus
aadb0e9435
maths.bits: fix ambiguous expressions, remove special case in the checker (#24815) 2025-06-30 22:02:24 +03:00
Delyan Angelov
0321c3f544
Revert "math.bits: port changes from e66e996, so that -cstrict -cc gcc-11 passes for markdown as well"
This reverts commit 41a846a534.
2025-03-13 00:08:57 +02:00
Delyan Angelov
41a846a534
math.bits: port changes from e66e996, so that -cstrict -cc gcc-11 passes for markdown as well 2025-03-12 23:40:01 +02:00
yuyi
008aaad999
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
Delyan Angelov
d9a3a3aa0a
strconv,math.bits: eliminate bounds checking in commonly used routines 2024-07-22 13:43:50 +03:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Swastik Baranwal
6a04febbf8
math.bits: remove deprecated max32 and max64 const (#20277) 2023-12-27 13:55:55 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Artem Yurchenko
97f7c3f609
builtin: move min/max integer values consts from math to builtin (#19809) 2023-11-08 20:43:48 +02:00
Artem Yurchenko
1ed0cd9a74
builtin: reduce the number of array allocations for consts in all V programs (#18889) 2023-07-19 13:06:41 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
John
4098612a87
rand: add full precision f32 and f64 random functions; fix f32/f64 multipliers (#16875) 2023-01-19 15:21:47 +02:00
Delyan Angelov
fc64f09f0b
crypto.md5: improve performance of md5.blockblock_generic 2022-05-30 21:56:39 +03:00
Delyan Angelov
840f474fb5
ci: fix ./v -progress test-cleancode 2022-04-15 21:04:10 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Alexander Medvednikov
014c3c97f0 all: byte => u8 2022-04-15 14:45:52 +03:00
Delyan Angelov
2a3a4cfc84
math.bits: fix bits.div_64 behaviour for leading_zeros_64(y) = 0 2022-01-16 18:11:23 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
playX
a8ace2c41c
math: implement pow in pure V (#12105) 2021-10-08 17:44:55 +03:00
yuyi
108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
yuyi
e5360e164a
fmt: remove unnecessary parentheses after return (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Alexander Medvednikov
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Lukas Neubert
16c9cbce7c
fmt: correctly increase f.line_len for write_indent (#8174) 2021-01-18 06:02:29 +01:00
Delyan Angelov
d91634985f
ci: fix math.bits.max_u64/math.bits.max_u32 2020-12-15 10:52:57 +02:00
Delyan Angelov
d155d8d3f0
vlib: prepare atoi.v and utf8.v for -Wimpure-v 2020-12-15 10:17:46 +02:00
Alexander Medvednikov
7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
Delyan Angelov
0a07dc5762 Revert "_vinit: use static initialization of large const []number"
This reverts commit b306c04e99.
2020-06-12 09:57:38 +03:00
Delyan Angelov
b306c04e99 _vinit: use static initialization of large const []number 2020-06-12 09:41:32 +03:00
Uwe Krüger
076089d3c5
checker: apply stricter type checks to function args and return types 2020-06-01 21:15:59 +02:00
Uwe Krüger
fd4d28b7b6
tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
Alexey
384d401af0
math: fix bits_test 2020-04-09 12:43:37 +02:00
Alexander Medvednikov
a08e64f37f cgen: operator overloading 2020-04-08 22:12:42 +02:00