mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
15 lines
282 B
C
15 lines
282 B
C
module std::math::nolibc;
|
|
|
|
$if (!env::COMPILER_LIBC_AVAILABLE):
|
|
|
|
fn float powf_broken(float x, float f) @extname("powf") @weak
|
|
{
|
|
unreachable("'powf' not supported");
|
|
}
|
|
|
|
fn double pow_broken(double x, double y) @extname("pow") @weak
|
|
{
|
|
unreachable("'pow' not supported");
|
|
}
|
|
|
|
$endif; |