mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Cleanup use of macro inspection to use @typekind and @typeid macros.
This commit is contained in:
@@ -244,13 +244,13 @@ macro double __math_oflow(ulong sign) => __math_xflow(sign, 0x1p-767);
|
||||
|
||||
macro __math_xflow(sign, v)
|
||||
{
|
||||
$typeof(v) temp;
|
||||
$typeof(v) temp @noinit;
|
||||
@volatile_store(temp, (sign ? -v : v) * v);
|
||||
return temp;
|
||||
}
|
||||
|
||||
macro force_eval_add(x, v)
|
||||
{
|
||||
$typeof(x) temp;
|
||||
$typeof(x) temp @noinit;
|
||||
@volatile_store(temp, x + v);
|
||||
}
|
||||
Reference in New Issue
Block a user