Mathematics |
Single-Precision Arithmetic
You can combine two numbers of type single
and the result is of type single
. For example,
You can verify that the result has data type single
with the class
command.
You can combine scalars or arrays of type single
with scalars or arrays of type double
, and the result has type single
. For example,
However, you cannot combine scalars or arrays of type single
with scalars or arrays of an integer data type.
Data Type single | The Function eps |
© 1994-2005 The MathWorks, Inc.