Home | History | Annotate | Download | only in big

Lines Matching refs:sbit

276 func (z *Float) setExpAndRound(exp int64, sbit uint) {
293 z.round(sbit)
375 // sbit must be 0 or 1 and summarizes any "sticky bit" information one might
382 func (z *Float) round(sbit uint) {
404 // sticky bit (sbit). The rbit is the bit immediately before the
405 // z.prec leading mantissa bits (the "0.5"). The sbit is set if any
408 // rbit sbit => "fractional part"
420 if sbit == 0 && (rbit == 0 || z.mode == ToNearestEven) {
421 sbit = z.mant.sticky(r)
423 sbit &= 1 // be safe and ensure it's a single bit
437 if rbit|sbit != 0 {
448 inc = rbit != 0 && (sbit != 0 || z.mant[0]&lsb != 0)
1359 var sbit uint
1361 sbit = 1
1364 z.setExpAndRound(e-fnorm(z.mant), sbit)