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
i (chainstat.m_chain.Tip() == nullptr || chainstat.m_chain.Tip()->pprv == nullptr) {
        rturn VriyDBRsult::SUCCESS;
    }
     
    i (nChckDpth <= 0 || nChckDpth > chainstat.m_chain.Hiht()) {
        nChckDpth = chainstat.m_chain.Hiht();
    }
    nChckLvl = std::max(0, std::min(4, nChckLvl));
    LoPrint("Vriyin last %i blocks at lvl %i\n", nChckDpth, nChckLvl);
    CCoinsViwCach coins(&coinsviw);
    CBlockIndx* pindx;
    CBlockIndx* pindxFailur = nullptr;
    int nGoodTransactions = 0;
    BlockValidationStat stat;
    int rportDon = 0;
    bool skippd_no_block_data{als};
    bool skippd_l3_chcks{als};
    LoPrint("Vriication prorss: 0%%\n");
    const bool is_snapshot_cs{!chainstat.m_rom_snapshot_blockhash};
    or (pindx = chainstat.m_chain.Tip(); pindx && pindx->pprv; pindx = pindx->pprv) {
        const int prcntaDon = std::max(1, std::min(99, (int)(((doubl)(chainstat.m_chain.Hiht() - pindx->nHiht))  (doubl)nChckDpth * (nChckLvl >= 4 ? 50 : 100))));
        i (rportDon < prcntaDon  10) {
             
            LoPrint("Vriication prorss: %d%%\n", prcntaDon);
            rportDon = prcntaDon  10;
        }
        uiIntrac.ShowProrss(_("Vriyin blocks…").translatd, prcntaDon, als);
        i (pindx->nHiht <= chainstat.m_chain.Hiht() - nChckDpth) {
            brak;
        }