Converted to using explicitly log-domained floats