This website requires JavaScript.
Explore
Help
Register
Sign In
shishantbiswas
/
c3c
Watch
1
Star
1
Fork
0
You've already forked c3c
mirror of
https://github.com/c3lang/c3c.git
synced
2026-02-27 12:01:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
800f7970a73baaf96fbb325065273924c81fde89
c3c
/
lib
/
std
/
math
History
Christoffer Lerno
e1565ccdc5
Regression: Invalid is_random implementation due to changes in 0.6.
2024-07-26 20:49:17 +02:00
..
math_nolibc
Indexing into a constant array / struct now works at compile time. Constants defined by indexing into another constant could fail codegen. Stdlib nolibc code bugs fixed.
2024-07-20 01:20:03 +02:00
random
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
math_builtin.c3
Add --strip-unused.
2023-02-16 22:11:42 +01:00
math_complex.c3
0.6.0: init_new/init_temp removed. LinkedList API rewritten. List "pop" and "remove" function now return Optionals. RingBuffer API rewritten. Allocator interface changed. Deprecated Allocator, DString and mem functions removed. "identity" functions are now constants for Matrix and Complex numbers.
@default
implementations for interfaces removed.
any*
=>
any
, same for interfaces. Emit local/private globals as "private" in LLVM, following C "static". Updated enum syntax. Add support [rgba] properties in vectors. Improved checks of aliased "void". Subarray -> slice. Fix of llvm codegen enum check. Improved alignment handling. Add --output-dir
#1155
. Removed List/Object append.
GenericList
renamed
AnyList
. Remove unused "unwrap". Fixes to cond. Optimize output in dead branches. Better checking of operator methods. Disallow
any
from implementing dynamic methods. Check for operator mismatch. Remove unnecessary bitfield. Remove numbering in --list* commands Old style enum declaration for params/type, but now the type is optional. Add note on
#1086
. Allow making distinct types out of "void", "typeid", "anyfault" and faults. Remove system linker build options. "Try" expressions must be simple expressions. Add optimized build to Mac tests. Register int.
assert(false)
only allowed in unused branches or in tests. Compile time failed asserts is a compile time error. Remove current_block_is_target. Bug when assigning an optional from an optional. Remove unused emit_zstring. Simplify phi code. Remove unnecessary unreachable blocks and remove unnecessary current_block NULL assignments. Proper handling of '.' and Win32 '//server' paths. Add "no discard" to expression blocks with a return value. Detect "unsigned >= 0" as errors. Fix issue with distinct void as a member
#1147
. Improve callstack debug information
#1184
. Fix issue with absolute output-dir paths. Lambdas were not type checked thoroughly
#1185
. Fix compilation warning
#1187
. Request jump table using @jump for switches. Path normalization - fix possible null terminator out of bounds. Improved error messages on inlined macros.
2024-06-12 10:14:26 +02:00
math_easings.c3
Updated indentation to C3 standard.
2023-07-26 14:01:24 +02:00
math_i128.c3
Updated indentation to C3 standard.
2023-07-26 14:01:24 +02:00
math_libc.c3
Improved support for freestanding.
2023-01-25 11:10:37 +01:00
math_matrix.c3
0.5.4: Hash variables accept designated initializers. @safemacro overrides the need for
@
in macro names. Fixes to macro context evaluation. Updated allocator api. Removed install_win_reqs.bat. Deterministic @init for MacOS. Fixed temp memory issue with formatter. Support LLVM 19. Add support to compare bitstructs using == and !=. Support Windows
.def
files. Removed invalid grammar from grammar.y. Support compile time folding of &|^~ for bitstructs.
output
project setting now respected. Fix issue where constants were not properly constant folded. Add temp_push/pop. Aliased declarations caused errors when used in initializers. Fix export output. Fix of const ternary
#1118
. Fix of $$MODULE in nested macros
#1117
. Fix debug info on globals.
out
now correctly detects subscript[] use
#1116
. Lateral implicit imports removed. Default to '.' if no libdir is specified. Improved error messages for
--lib
. Fix raylib snake example. Overzealous local escape check corrected
#1127
. Improved yacc grammar
#1128
.
--linker
argument
#1067
. Fixes to the matrix operations
#1130
. Added GenericList.
2024-02-15 21:39:33 +01:00
math_quaternion.c3
0.6.0: init_new/init_temp removed. LinkedList API rewritten. List "pop" and "remove" function now return Optionals. RingBuffer API rewritten. Allocator interface changed. Deprecated Allocator, DString and mem functions removed. "identity" functions are now constants for Matrix and Complex numbers.
@default
implementations for interfaces removed.
any*
=>
any
, same for interfaces. Emit local/private globals as "private" in LLVM, following C "static". Updated enum syntax. Add support [rgba] properties in vectors. Improved checks of aliased "void". Subarray -> slice. Fix of llvm codegen enum check. Improved alignment handling. Add --output-dir
#1155
. Removed List/Object append.
GenericList
renamed
AnyList
. Remove unused "unwrap". Fixes to cond. Optimize output in dead branches. Better checking of operator methods. Disallow
any
from implementing dynamic methods. Check for operator mismatch. Remove unnecessary bitfield. Remove numbering in --list* commands Old style enum declaration for params/type, but now the type is optional. Add note on
#1086
. Allow making distinct types out of "void", "typeid", "anyfault" and faults. Remove system linker build options. "Try" expressions must be simple expressions. Add optimized build to Mac tests. Register int.
assert(false)
only allowed in unused branches or in tests. Compile time failed asserts is a compile time error. Remove current_block_is_target. Bug when assigning an optional from an optional. Remove unused emit_zstring. Simplify phi code. Remove unnecessary unreachable blocks and remove unnecessary current_block NULL assignments. Proper handling of '.' and Win32 '//server' paths. Add "no discard" to expression blocks with a return value. Detect "unsigned >= 0" as errors. Fix issue with distinct void as a member
#1147
. Improve callstack debug information
#1184
. Fix issue with absolute output-dir paths. Lambdas were not type checked thoroughly
#1185
. Fix compilation warning
#1187
. Request jump table using @jump for switches. Path normalization - fix possible null terminator out of bounds. Improved error messages on inlined macros.
2024-06-12 10:14:26 +02:00
math_random.c3
Regression: Invalid is_random implementation due to changes in 0.6.
2024-07-26 20:49:17 +02:00
math_vector.c3
Scalar -> vector not implicit in call or assign.
2024-07-24 14:00:09 +02:00
math.c3
Add .dot to integer vectors.
2024-07-19 11:34:05 +02:00