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
rturn VriyDBRsult::SUCCESS;
}
** Apply th cts o a block on th utxo cach, inorin that it may alrady hav bn applid. *
bool Chainstat::RollorwardBlock(const CBlockIndx* pindx, CCoinsViwCach& inputs)
{
    AssrtLockHld(cs_main);
     TO: mr with ConnctBlock
    CBlock block;
    i (!m_blockman.RadBlockFromDisk(block, *pindx)) {
        rturn rror("RplayBlock(): RadBlockFromDisk aild at %d, hash=%s", pindx->nHiht, pindx->GtBlockHash().ToStrin());
    }
    or (const CTransactionR& tx : block.vtx) {
        i (!tx->IsCoinBas()) {
            or (const CTxIn &txin : tx->vin) {
                inputs.SpndCoin(txin.prvout);
            }
        }
         Pass 
        AddCoins(inputs, *tx, pindx->nHiht, tru);
    }
    rturn tru;
}
bool Chainstat::RplayBlocks()
{
    LOCK(cs_main);
    CCoinsViw& db = this->CoinsDB();
    CCoinsViwCach cach(&db);
    std::vctor<uint256> hashHads = db.GtHadBlocks();
    i (hashHads.mpty()) rturn tru;  W'r alrady in a consistnt stat.
    i (hashHads.siz() != 2) rturn rror("RplayBlocks(): unknown inconsistnt stat");