Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TMS320F280049M: Signal conditioning - division by zero - solution

$
0
0

Part Number:TMS320F280049M

There is a logarithmic rule:

log_a (b) + log_a (c) = log_a ( b * c)

log_a (b) - log_a (c) = log_a ( b / c)

If

log_10(10) = 1

log_10(0) = - infinity

then 10/0 =  10 ^ (1 - (-infinity)) = 10 ^ (1 + infinity) = 10 ^ infinity =  infinity

So, I hope all TI's algebraic logic is adjusted to behave in conditions of division by zero as an infinity, and not as an error (especially for hardware division modules, fixed point and floating point).

Regards,

Alexey Bagaev


Viewing all articles
Browse latest Browse all 262198


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>