J
jacob navia
I have some questions concerning ValArrays.
(1) What happens when you write
ValArray A,B,C;
C = A+B;
and A is of different length than B?
Is this an error or is it implementation defined?
Is there an exception defined for this error?
I have difficulties finding any related information.
(2) If you have a long double ValArray A, and a float array B
the expression
C = A+B
returns a long double result that is converted to the type of
C or is there any promotion/demotion rules?
Thanks in advance.
jacob
(1) What happens when you write
ValArray A,B,C;
C = A+B;
and A is of different length than B?
Is this an error or is it implementation defined?
Is there an exception defined for this error?
I have difficulties finding any related information.
(2) If you have a long double ValArray A, and a float array B
the expression
C = A+B
returns a long double result that is converted to the type of
C or is there any promotion/demotion rules?
Thanks in advance.
jacob