Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for atof64exact (0.22 sec)

  1. src/strconv/atof.go

    //
    //	value is exact integer
    //	value is exact integer * exact power of ten
    //	value is exact integer / exact power of ten
    //
    // These all produce potentially inexact but correctly rounded answers.
    func atof64exact(mantissa uint64, exp int, neg bool) (f float64, ok bool) {
    	if mantissa>>float64info.mantbits != 0 {
    		return
    	}
    	f = float64(mantissa)
    	if neg {
    		f = -f
    	}
    	switch {
    	case exp == 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
Back to top