Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 99999999999999974834176 (0.36 sec)

  1. src/strconv/ftoa_test.go

    	. "strconv"
    	"testing"
    )
    
    type ftoaTest struct {
    	f    float64
    	fmt  byte
    	prec int
    	s    string
    }
    
    func fdiv(a, b float64) float64 { return a / b }
    
    const (
    	below1e23 = 99999999999999974834176
    	above1e23 = 100000000000000008388608
    )
    
    var ftoatests = []ftoaTest{
    	{1, 'e', 5, "1.00000e+00"},
    	{1, 'f', 5, "1.00000"},
    	{1, 'g', 5, "1"},
    	{1, 'g', -1, "1"},
    	{1, 'x', -1, "0x1p+00"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
Back to top