I kinda like this one ... ;-)
x: 9223372036854775807 <. _
9223372036854775808
On 2016/02/02 18:17 , 'Pascal Jasmin' via Programming wrote:
there is also this fix
9223372036854736345x <.&x: _
9223372036854736345
- Original Message -
From: Henry Rich
To: programm...@jsoftware
there is also this fix
9223372036854736345x <.&x: _
9223372036854736345
- Original Message -
From: Henry Rich
To: programm...@jsoftware.com
Sent: Tuesday, February 2, 2016 9:12 PM
Subject: Re: [Jprogramming] When a <. _ is less than a
No, extendeds promote to float on mixed oper
Try:
,'q< >r<0>3.0' 8!:2 >: 5?15
06 04 12 11 08
-Original Message-
From: Programming [mailto:programming-boun...@forums.jsoftware.com] On Behalf
Of Steve Mandula
Sent: Tuesday, February 2, 2016 19:28
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] GUI problem
Your origi
robert therriault mac.com> writes:
>
> Steve,
>
> Since you are working with literals you will need to pad with your own
blank space before ravelling.
>
> winex1_roll_button=: 3 : 0
> wd 'set face *',, ' ',"1 >'r<0>2.0' 8!:1 >: 5?15
> )
>
> Cheers, bob
>
> > On Feb 2, 2016, at 5:28 PM, Stev
No, extendeds promote to float on mixed operations.
Henry Rich
On 2/2/2016 9:09 PM, 'Pascal Jasmin' via Programming wrote:
9223372036854736345 <. _
9.22337e18
result is a double. <. double is the closest integer it can find.
this seems like a problem though:
9223372036854736345x <
9223372036854736345 <. _
9.22337e18
result is a double. <. double is the closest integer it can find.
this seems like a problem though:
9223372036854736345x <. _
9.22337e18
- Original Message -
From: Henry Rich
To: Programming forum
Sent: Tuesday, February 2, 2016 9:05 PM
S
I'm stepping up to the world of 64-bit integers, and stepping into cowflops.
This took me quite a while:
<. 9223372036854736345 <. _
9223372036854735872
See that? Take the minimum of (number) and (infinity), and the result
is less than (number)!
Yes, I understand why it happens. Now
I think it gets bitmap data _from_ the plot window.
Пн, 01 фев 2016, Don Guinn написал(а):
> Still curious, what is get supposed to be used for?
> On Feb 1, 2016 7:29 PM, "Raul Miller" wrote:
>
> > You might be able to accomplish something similar using viewbmp to
> > render the composite.
> >
>
Steve,
Since you are working with literals you will need to pad with your own blank
space before ravelling.
winex1_roll_button=: 3 : 0
wd 'set face *',, ' ',"1 >'r<0>2.0' 8!:1 >: 5?15
)
Cheers, bob
> On Feb 2, 2016, at 5:28 PM, Steve Mandula wrote:
>
> ,,>'r2.0' 8!:1 >: 5?15
-
Your original reply
chris burke jsoftware.com> writes:
> You at least need to ravel the formatted numbers:
>
> 'set face *',,>'r<0>2.0' 8!:0 >: 2?10
>
Thanks for your Reply.
The solution is getting close,however, I can not
get the spacing between numbers. My crude method
is listed below.
w
Thanks to you both. I'm happy to have it confirmed as a no-op.
Integer-boolean conversion, not needed here though perhaps in an earlier
version of J, or indeed APL. That makes sense.
Cheers.
On Wed, Feb 3, 2016 at 10:35 AM, Roger Hui
wrote:
> I don't think it's that significant. In 1=?s$2 the
I don't think it's that significant. In 1=?s$2 the 1= is a no-op. It's
there possibly because:
- Muscle memory. In APL, in 1-origin, the 1= is needed to convert integers
to booleans.
- There's a lot of cut-and-paste in making the test scripts. Could have
been cut and pasted from somewhere else.
This is a good place for this question.
That said, as far as I know, the 1= is unnecessary in a=: 1=?10 5$2
(Though maybe some distant early version of J would provide an integer
result, instead of a boolean result?)
Thanks,
--
Raul
On Tue, Feb 2, 2016 at 5:22 PM, Matthew Baulch wrote:
>
I've been reading the tests in the J engine source. Have learned quite a
bit while doing so! Anyhow, I've become perplexed by one particular line.
In the 'Boolean' section of the tests for 'x i. y' (test/gi.ijs), a random
table is constructed with
a=:1=?10 5$2
My question is, why is a=:?10 5$2
The following expression is a matrix:
'set face *',>'r<0>2.0' 8!:0 >: 2?10
You at least need to ravel the formatted numbers:
'set face *',,>'r<0>2.0' 8!:0 >: 2?10
Also, you can use J8 rather than J6.
On 2 February 2016 at 10:07, Steve Mandula wrote:
> Could someone suggest a solution
> in
just a guess, but
wd 'set face text *', ...
or cn
- Original Message -
From: Steve Mandula
To: programm...@jsoftware.com
Sent: Tuesday, February 2, 2016 1:07 PM
Subject: [Jprogramming] GUI problem
Could someone suggest a solution
in the wd 'set face *',>'r<0>2.0' 8!:0 >: 2?10
part?
Could someone suggest a solution
in the wd 'set face *',>'r<0>2.0' 8!:0 >: 2?10
part? As I would like 1 to appear as 01 etc and
11 to not change. I would like format properly
this area.
With Thanks
WinEx1=: 0 : 0
pc winex1;
xywh 70 7 34 15;cc payname static;cn "Push Button";
xywh 100 28 34 14;cc c
Good to know! I didn't appreciate this before.
On Mon, Feb 1, 2016 at 7:38 AM, Henry Rich wrote:
> See
>
> http://code.jsoftware.com/wiki/Vocabulary/bslash#More_Information
>
> Henry Rich
>
>
> On 2/1/2016 5:51 AM, Ben Gorte - CITG wrote:
>
>> Good morning,
>>
>> I stumbled into something I fou
18 matches
Mail list logo