added native double round(double) function

This commit is contained in:
Alexander 2019-06-03 21:59:48 +07:00 committed by Christoph Oelckers
commit 380398bcd6
6 changed files with 10 additions and 0 deletions

View file

@ -1741,6 +1741,8 @@ static double DoFLOP(int flop, double v)
case FLOP_COSH: return g_cosh(v);
case FLOP_SINH: return g_sinh(v);
case FLOP_TANH: return g_tanh(v);
case FLOP_ROUND: return round(v);
}
assert(0);
return 0;