code: func (cfg *frozenConfig) marshalFloatWith6Digits(extension EncoderExtension) {
  	// for better performance
  	extension[reflect2.TypeOfPtr((*float32)(nil)).Elem()] = &lossyFloat32Encoder{}
  	extension[reflect2.TypeOfPtr((*float64)(nil)).Elem()] = &lossyFloat64Encoder{}
  }
docs: // EnableLossyFloatMarshalling keeps 10**(-6) precision
  // for float variables for better performance.