mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Fix of bug in !floatval codegen. Added float parsing.
This commit is contained in:
@@ -688,6 +688,7 @@ macro is_nan(x)
|
||||
$endswitch;
|
||||
}
|
||||
|
||||
macro double scalbn(double x, int n) => _scalbn(x, n);
|
||||
|
||||
extern fn double _atan(double x) @extern("atan");
|
||||
extern fn float _atanf(float x) @extern("atanf");
|
||||
@@ -696,4 +697,5 @@ extern fn float _atan2f(float, float) @extern("atan2f");
|
||||
extern fn void _sincos(double, double*) @extern("sincos");
|
||||
extern fn void _sincosf(float, float*) @extern("sincosf");
|
||||
extern fn double _tan(double x) @extern("tan");
|
||||
extern fn float _tanf(float x) @extern("tanf");
|
||||
extern fn float _tanf(float x) @extern("tanf");
|
||||
extern fn double _scalbn(double x, int n) @extern("scalbn");
|
||||
Reference in New Issue
Block a user