// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package printer

import 

// log2ish returns a crude approximation to logâ‚‚(x).
// The result is only used for heuristic alignment decisions and should
// not be used where precision matters.
// The approximation is guaranteed to produce identical results
// across all architectures.
func ( float64) float64 {
	,  := math.Frexp()
	return float64() + 2*(-1)
}

// exp2ish returns a crude approximation to 2**x.
// The result is only used for heuristic alignment decisions and should
// not be used where precision matters.
// The approximation is guaranteed to produce identical results
// across all architectures.
func ( float64) float64 {
	 := math.Floor()
	 :=  - 
	return math.Ldexp(1+, int())
}