there is also this fix
9223372036854736345x <.&x: _
9223372036854736345
----- Original Message -----
From: Henry Rich <[email protected]>
To: [email protected]
Sent: Tuesday, February 2, 2016 9:12 PM
Subject: Re: [Jprogramming] When a <. _ is less than a
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 <. _
> 9.22337e18
>
>
>
> ----- Original Message -----
> From: Henry Rich <[email protected]>
> To: Programming forum <[email protected]>
> Sent: Tuesday, February 2, 2016 9:05 PM
> Subject: [Jprogramming] When a <. _ is less than a
>
> 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 do. Be warned.
>
> Henry Rich
> ----------------------------------------------------------------------
> 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