cpp11
cpp11 copied to clipboard
as_integers and as_doubles now understand logical inputs
trafficstars
I added a test to verify that 1.0/0.0 (or 1/0) is the same as T/F.
The idea was to mimic the double to/from integer as method for logicals.
it would be good to merge this PR and then adapt the tests here