Please add a cast to `derive_t` here (and the following lines). I don't want to speculate on the exact implicit casting rules from `long double` to `int64_t`.