Skip to content

Conversation

@jmr
Copy link
Member

@jmr jmr commented Oct 24, 2025

  • Remove DEFINE_* flags macros and use ABSL_FLAG directly
  • Modernize ExactFloat interface
    • Replace exactfloat::is_nan() with isnan(const ExactFloat&)
    • Replace ToDouble() with explicit operator double()
    • Add fpclassify(const ExactFloat&)
  • Add exactfloat_underflow_test
  • New S2Cell::IsDistanceLess and related predicates
  • Do not use #pragma STDC FP_CONTRACT off for gcc to try to
    prevent warnings. gcc has its own pragma (which was always
    used)
  • Switch some ABSL_LOG(ERROR)s to DFATAL

jmr added 2 commits October 24, 2025 10:00
* Increase minimum enforced CMake version to 3.11
* Remove `DEFINE_*` flags macros and use `ABSL_FLAG` directly
* Modernize `ExactFloat` interface
  * Replace `exactfloat::is_nan()` with `isnan(const ExactFloat&)`
  * Replace `ToDouble()` with `explicit operator double()`
  * Add `fpclassify(const ExactFloat&)`
* Add exactfloat_underflow_test
* New `S2Cell::IsDistanceLess` and related predicates
* Do not use `#pragma STDC FP_CONTRACT off` for gcc to try to
  prevent warnings.  gcc has its own pragma (which was always
  used)
* Switch some `ABSL_LOG(ERROR)`s to `DFATAL`
* Remove `S2_DEFINE_*` flags macros and use `ABSL_FLAG` directly
* Modernize `ExactFloat` interface
  * Replace `exactfloat::is_nan()` with `isnan(const ExactFloat&)`
  * Replace `ToDouble()` with `explicit operator double()`
  * Add `fpclassify(const ExactFloat&)`
* Add exactfloat_underflow_test
* New `S2Cell::IsDistanceLess` and related predicates
* Do not use `#pragma STDC FP_CONTRACT off` for gcc to try to
  prevent warnings.  gcc has its own pragma (which was always
  used)
* Switch some `ABSL_LOG(ERROR)`s to `DFATAL`
@jmr jmr merged commit a538e02 into google:master Oct 24, 2025
11 checks passed
@jmr jmr deleted the update-2025-10-24 branch October 24, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants