Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for substring (0.67 sec)

  1. misc/cgo/gmp/gmp.go

    	// TODO(rsc): more work on 32-bit platforms
    	C.mpz_set_si(&z.i[0], C.long(x))
    	return z
    }
    
    // SetString interprets s as a number in the given base
    // and sets z to that value.  The base must be in the range [2,36].
    // SetString returns an error if s cannot be parsed or the base is invalid.
    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top