Lines Matching defs:round
42 # fround(NSTR, SCALE) return NSTR round to SCALE digits
43 # ffround(NSTR, SCALE) return NSTR round at SCALEth place
145 &norm(&round(&'bdiv($xm.('0' x $scale),$ym),&'babs($ym)),
151 # round int $q based on fraction $r/$base using $rnd_mode
152 sub round { #(int_str, int_str, int_str) return int_str
167 $q; # round down
170 # round up
175 # round the mantissa of $x to $scale digits
185 &norm(&round(substr($xm,$[,$scale+1),
193 # round $x at the 10 to the $scale digit place
208 # we'll pass a non-normalized "-0" to &round when rounding
209 # -0.006 (for example), purely so that &round won't lose
211 &norm(&round(substr($xm,$[,1).'0',
214 &norm(&round(substr($xm,$[,$xe),