I don't know; I hardly ever use extended precision or rationals myself either. I guess it would make the language more "complete". Definitely not a priority.
Louis > On 9 Sep 2017, at 11:34, Raul Miller <[email protected]> wrote: > > What would it be used for? (Related: how would the exponential aspects > of complex number operations get handled?) > > Thanks, > > -- > Raul > > >> On Sat, Sep 9, 2017 at 4:57 AM, Louis de Forcrand <[email protected]> wrote: >> There is no extended complex datatype in J (although its addition could be a >> thought). >> >> Louis >> >>> On 9 Sep 2017, at 09:23, 'Bo Jacoby' via Programming >>> <[email protected]> wrote: >>> >>> >>> %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 <[email protected]>: >>> >>> >>> 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 >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
