[Jprogramming] Tacit vs. Explicit
Raul Miller
rauldmiller at gmail.com
Fri Oct 7 22:28:21 HKT 2011
On Fri, Oct 7, 2011 at 10:02 AM, Nick Simicich <simicich at gmail.com> wrote:
> These mnemonic words that are defined by default in J - they are harder to
> remember than something like bignumber (10e9|@^) bignumber as a way to
> take a number to a power and to only keep the residual part.
I think that that is because you have already learned bignumber in
some other language,but also because the absolute value of an exponent
is probably not what you wanted to accomplish.
That said, if you want to define
bignumber=: (&|)(@^)
or
bignumber=: 1 :'m&|@^'
or
bignumber=:2 :'m&|@(n&^)'
or whatever it is that you need, I think that that should work?
--
Raul
More information about the Programming
mailing list