I am writing code with MATLAB 2015b and 1/Inf=0
in this case. I'd like to know, has this always been the case for MATLAB or do I run the risk of a user who is running a previous MATLAB version of obtaining a different output? Thanks for helping!
The docs end off by saying:
Introduced before R2006a
I interpret that as it being a fairly safe bet to assume 1/Inf==0
holds in older versions of MATLAB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With