"Yuvaraj Athur Raghuvir" <[EMAIL PROTECTED]> wrote:
> >From this I understand that J converts implicitly before the assignment.

It is not that J automatically does type conversions on copula.
Rather, the parser creates constants of the simplest possible type,
which copula just copies.

> I want to retain 0.0 & 1.0 as floats with copula(=. or =:). How can 
> I do so?

An alternative to Roger's solution, using the parser to create real numbers:
   'd0 d1' =: 2 {. 0 1 2.5
   3!:0 d0
8
   3!:0 d1
8

-- Mark D. Niemiec <[EMAIL PROTECTED]>

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to