Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 71 of 71 for compareIDs (0.15 sec)

  1. src/math/big/float.go

    	if x.form == zero || y.form == inf {
    		// ±0 / y
    		// x / ±Inf
    		z.form = zero
    		return z
    	}
    
    	// x / ±0
    	// ±Inf / y
    	z.form = inf
    	return z
    }
    
    // Cmp compares x and y and returns:
    //
    //	-1 if x <  y
    //	 0 if x == y (incl. -0 == 0, -Inf == -Inf, and +Inf == +Inf)
    //	+1 if x >  y
    func (x *Float) Cmp(y *Float) int {
    	if debugFloat {
    		x.validate()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top