Machine overflow and underflow error

I need to write a matlab code that generate machine over flow and underflow error for that i need to evaluate M^n m may be an integer and n increases from 1 to n such that it exceeds machine limt an d generate erreor

1 Kommentar

James Tursa
James Tursa am 6 Feb. 2020
Do you mean for integer classes such as int8, uint16, etc., you want to detect when an operation overflows/saturates?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 6 Feb. 2020

Kommentiert:

am 6 Feb. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by