...

Source file src/runtime/fastlog2table.go

Documentation: runtime

		 1  // Code generated by mkfastlog2table.go; DO NOT EDIT.
		 2  // Run go generate from src/runtime to update.
		 3  // See mkfastlog2table.go for comments.
		 4  
		 5  package runtime
		 6  
		 7  const fastlogNumBits = 5
		 8  
		 9  var fastlog2Table = [1<<fastlogNumBits + 1]float64{
		10  	0,
		11  	0.0443941193584535,
		12  	0.08746284125033943,
		13  	0.12928301694496647,
		14  	0.16992500144231248,
		15  	0.2094533656289499,
		16  	0.24792751344358555,
		17  	0.28540221886224837,
		18  	0.3219280948873623,
		19  	0.3575520046180837,
		20  	0.39231742277876036,
		21  	0.4262647547020979,
		22  	0.4594316186372973,
		23  	0.4918530963296748,
		24  	0.5235619560570128,
		25  	0.5545888516776374,
		26  	0.5849625007211563,
		27  	0.6147098441152082,
		28  	0.6438561897747247,
		29  	0.6724253419714956,
		30  	0.7004397181410922,
		31  	0.7279204545631992,
		32  	0.7548875021634686,
		33  	0.7813597135246596,
		34  	0.8073549220576042,
		35  	0.8328900141647417,
		36  	0.8579809951275721,
		37  	0.8826430493618412,
		38  	0.9068905956085185,
		39  	0.9307373375628862,
		40  	0.9541963103868752,
		41  	0.9772799234999164,
		42  	1,
		43  }
		44  

View as plain text