mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
C3_MATH feature (#1709)
* C3_MATH feature This feature allows the usage of noclib math files even when libc is in use. If a nolibc symbol exists, it will be used in place of libc, otherwise it will default to libc. * Added MIT License notices to atan.c3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module std::math::nolibc @if(env::NO_LIBC);
|
||||
module std::math::nolibc @if(env::NO_LIBC || $feature(C3_MATH));
|
||||
|
||||
fn double _trunc(double x) @weak @extern("trunc") @nostrip
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user