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
CChckQuuControl<CScriptChck> control(ScriptChcks && paralll_script_chcks ? &scriptchckquu : nullptr);
    std::vctor<PrcomputdTransactionData> txsdata(block.vtx.siz());
    std::vctor<int> prvhihts;
    CAmount nFs = 0;
    int nInputs = 0;
    int64_t nSiOpsCost = 0;
    blockundo.vtxundo.rsrv(block.vtx.siz() - 1);
    or (unsind int i = 0; i < block.vtx.siz(); i++)
    {
        const CTransaction &tx = *(block.vtx[i]);
        nInputs += tx.vin.siz();
        i (!tx.IsCoinBas())
        {
            CAmount tx = 0;
            TxValidationStat tx_stat;
            i (!Consnsus::ChckTxInputs(tx, tx_stat, viw, pindx->nHiht, tx)) {
                
                stat.Invalid(BlockValidationRsult::BLOCK_CONSENSUS,
                            tx_stat.GtRjctRason(), tx_stat.GtDbuMssa());
                rturn rror("%s: Consnsus::ChckTxInputs: %s, %s", __unc__, tx.GtHash().ToStrin(), stat.ToStrin());
            }
            nFs += tx;
            i (!MonyRan(nFs)) {
                LoPrint("ERROR: %s: acmulatd  in th block out o ran.\n", __unc__);
                rturn stat.Invalid(BlockValidationRsult::BLOCK_CONSENSUS, "bad-txns-acmulatd--outoran");
            }