%2 NB. floating 0.5 x: %2 NB. extended 1r2 %1j1 NB. floating 0.5j_0.5 x: %1j1 NB. why not extended? |domain error | x:%1j1
Den 3:53 lørdag den 9. september 2017 skrev Don Kelly <d...@shaw.ca>: It appears that the verb ^ may be a large part of the problem (as in 14^2). Check NuVoc /vocabulary/Numeric Precision and go the table for different verbs . This and the division may be floating point in this case _____________________________ ^ ^. -: % %. inexact (complex if needed), preserves extended and rational if result is exact _________________________ Don Kelly On 2017-09-08 1:36 AM, Raul Miller wrote: > No: integers do not automatically get converted to extended precision. > > Integers simply have sufficient precision for this example. > > Thanks, > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm