mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
* 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
12 lines
291 B
Plaintext
12 lines
291 B
Plaintext
module std::math::nolibc @if(env::NO_LIBC || $feature(C3_MATH));
|
|
|
|
fn float powf_broken(float x, float f) @extern("powf") @weak @nostrip
|
|
{
|
|
unreachable("'powf' not supported");
|
|
}
|
|
|
|
fn double pow_broken(double x, double y) @extern("pow") @weak @nostrip
|
|
{
|
|
unreachable("'pow' not supported");
|
|
}
|