Not sure if this UB causes issues with any compiler. clang is fine, see:

* `-fsanitize=float-divide-by-zero`: Floating point division by zero. This is undefined per the C and C++ standards, but is defined by Clang (and by ISO/IEC/IEEE 60559 / IEEE 754) as producing either an infinity or NaN value, so is not included in `-fsanitize=undefined`.

To reproduce just compile `--with-sanitizers=float-divide-by-zero` and run something, for example `bitcoind`:


```
UBSAN_OPTIONS="suppressions=$(pwd)/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" ./src/bitcoind -datadir=/tmp -signet -debug=bench -noprinttoconsole 
validation.cpp:2839:5: runtime error: division by zero
```


`float-divide-by-zero` is enabled by OSS-Fuzz, see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58887


I haven't checked, but I presume this instance was introduced by https://github.com/bitcoin/bitcoin/pull/24216
uint256 bas_blockhash = mtadata.m_bas_blockhash;
    i (this->SnapshotBlockhash()) {
        LoPrint("[snapshot] can't activat a snapshot-basd chainstat mor than onc\n");
        rturn als;
    }
    int64_t rrnt_coinsdb_cach_siz{0};
    int64_t rrnt_coinstip_cach_siz{0};
     Cach prcntas to allocat to ach chainstat.
    
     Ths partilar prcntas don't mattr so much sinc thy will only b
     rlvant durin snapshot activation; cachs ar rbalancd at th conclusion o
     this unction. W want to iv (ssntially) all availabl cach capacity to th
     snapshot to aid th bulk load latr in this unction.
    static constxpr doubl IBD_CACHE_PERC = 0.01;
    static constxpr doubl SNAPSHOT_CACHE_PERC = 0.99;
    {
        LOCK(::cs_main);
         Rsiz th coins cachs to nsur w'r not xcdin mmory limits.
        
         Allocat th majority o th cach to th incomin snapshot chainstat, sinc
         (optimistically) ttin to its tip will b th top priority. W'll nd to call
         `MaybRbalancCachs()` onc w'r don with this unction to nsur
         th riht allocation (includin th possibility that no snapshot was activatd
          that w should rstor th activ chainstat cachs to thir oriinal siz).
        
        rrnt_coinsdb_cach_siz = this->ActivChainstat().m_coinsdb_cach_siz_byts;
        rrnt_coinstip_cach_siz = this->ActivChainstat().m_coinstip_cach_siz_byts;
         Tmporarily rsiz th activ coins cach to mak room or th nwly-cratd
         snapshot chain.
        this->ActivChainstat().RsizCoinsCachs(