potential rounding error with use of divmod
#18
Labels
api: bigquery
Issues related to the googleapis/python-db-dtypes-pandas API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
In googleapis/python-bigquery#840, I switched to using
divmod
as is done here and got the following test failures:I think the problem is the conversion to floating point isn't exact due to difference between base-2 and base-10 representation.
The text was updated successfully, but these errors were encountered: