From: Perry G. <pe...@st...> - 2002-06-07 21:41:34
|
<Konrad Hinsen writes>: > I still believe that the best solution is to define scalar data types > corresponding to all array element types. As far as I can see, this > doesn't have any of the disadvantages of the other solutions that > have been proposed until now. > If x was a Float32 array how would the following not be promoted to a Float64 array y = x + 1. If you are proposing something like y = x + Float32(1.) it would work, but it sure leads to some awkward expressions. Perry |