1. A method for detecting a seizure in an implantable or wearable medical device (IMD), the method comprising: generating a plurality of ratio determinations of foreground seizure energies divided by background seizure energies; generating a majority of the plurality of ratio determinations using a ratio estimation comprising estimating a Numerator (N) divided by a Denominator (D) to generate a ratio result, the estimating including raising 2 raised to the power of a difference between a most significant set bit position (MSSB) of the D and a MSSB of the N; and generating an indication of a seizure with the IMD or the wearable medical device based at least in part on the plurality of ratio determinations.