No matches for unrepresentable float values with list_filter
|Reported by:||Owned by:||thauber|
|Component:||Core (Cache system)||Version:||newforms-admin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using FloatField as an admin list_filter, float values that cannot be represented with complete fidelity (such as 0.1) are displayed as filter options, but no models appear on the filtered list page.
list_filter should not compare equivalence with floating point numbers, it should test for membership in a range (v-ε, v+ε) for very small ε.