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 Comment

Do you mean for integer classes such as int8, uint16, etc., you want to detect when an operation overflows/saturates?

Sign in to comment.

Answers (0)

Categories

Find more on Random Number Generation in Help Center and File Exchange

Asked:

on 6 Feb 2020

Commented:

on 6 Feb 2020

Community Treasure Hunt

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

Start Hunting!