Re: [Rd] Illegal Logical Values

2017-10-23 Thread Tomas Kalibera
On 10/21/2017 04:14 PM, Radford Neal wrote: On Fri, 2017-10-20 at 14:01 +, brodie gaslam via R-devel wrote: I'm thinking of this passage: Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN = -2147483648 (NA, but only if NAOK is true), and the compiled code should return one of these

Re: [Rd] Illegal Logical Values

2017-10-21 Thread Radford Neal
> On Fri, 2017-10-20 at 14:01 +, brodie gaslam via R-devel wrote: > > I'm thinking of this passage: > > > > > Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN = > > > -2147483648 (NA, but only if NAOK is true), and the compiled code > > > should return one of these three values. (Non

Re: [Rd] Illegal Logical Values

2017-10-20 Thread Martyn Plummer
On Fri, 2017-10-20 at 14:01 +, brodie gaslam via R-devel wrote: > I'm wondering if WRE Section 5.2 should be a little more explicit > about misuse of integer values other than NA, 0, and 1 in LGLSXPs. > I'm thinking of this passage: > > > Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_

[Rd] Illegal Logical Values

2017-10-20 Thread brodie gaslam via R-devel
I'm wondering if WRE Section 5.2 should be a little more explicit about misuse of integer values other than NA, 0, and 1 in LGLSXPs.  I'm thinking of this passage: > Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN = -2147483648 (NA, > but only if NAOK is true), and the compiled code s