Wow, it works! I don't know why, but I'll find out. Thanks a lot! Bo.
Den torsdag den 20. august 2020 23.25.56 CEST skrev 'Pascal Jasmin' via
Programming <[email protected]>:
x: ::] 1j2
1j2
On Thursday, August 20, 2020, 05:23:40 p.m. EDT, 'Bo Jacoby' via Programming
<[email protected]> wrote:
Hello friends.
x: 1e8 NB. improves precision
100000000
x: x: 1e8 NB. doesn't improve precision further but does no harm either
100000000
x: 1j2 NB. does harm
|domain error
| x:1j2
I need a function f that works as x: except that f 1j2 should evaluate to
1j2 rather than issue an error message.
How is that done?
Thanks.
Bo.
----------------------------------------------------------------------
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