Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 26bit (0.1 sec)

  1. src/encoding/base64/base64.go

    		for si < len(src) && (src[si] == '\n' || src[si] == '\r') {
    			si++
    		}
    		if si < len(src) {
    			// trailing garbage
    			err = CorruptInputError(si)
    		}
    		dlen = j
    		break
    	}
    
    	// Convert 4x 6bit source bytes into 3 bytes
    	val := uint(dbuf[0])<<18 | uint(dbuf[1])<<12 | uint(dbuf[2])<<6 | uint(dbuf[3])
    	dbuf[2], dbuf[1], dbuf[0] = byte(val>>0), byte(val>>8), byte(val>>16)
    	switch dlen {
    	case 4:
    		dst[2] = dbuf[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    			t.Errorf("%v:\n\t     %v\n\t-    %v\n\t=    %v\n\twant %v",
    				mode, x, x, got, want)
    		}
    	}
    }
    
    // TestFloatAdd32 tests that Float.Add/Sub of numbers with
    // 24bit mantissa behaves like float32 addition/subtraction
    // (excluding denormal numbers).
    func TestFloatAdd32(t *testing.T) {
    	// chose base such that we cross the mantissa precision limit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top