mirror of
https://github.com/vale981/arb
synced 2025-03-06 01:41:39 -05:00
arf_get_mag_lower(nan) -> 0
This commit is contained in:
parent
28ba57b7da
commit
2504089ad5
1 changed files with 4 additions and 1 deletions
|
@ -58,7 +58,10 @@ arf_get_mag_lower(mag_t y, const arf_t x)
|
||||||
}
|
}
|
||||||
else if (arf_is_special(x))
|
else if (arf_is_special(x))
|
||||||
{
|
{
|
||||||
mag_inf(y);
|
if (arf_is_nan(x))
|
||||||
|
mag_zero(y);
|
||||||
|
else
|
||||||
|
mag_inf(y);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue