From: Till Baumgaertel (till.baumgaertel@epost.de)
Date: Sat 07 Jul 2001 - 00:57:03 EST
Message-id: <3B45EDDF.10565.D31FD5@localhost>
> Why would you expect 1 > 1 to be True?
i didnt't realize TRUE<-1
i thought TRUE was something like INF or so, because normally the following is
false (like Duncan wrote):
> In R like C, FALSE is 0 and TRUE is 1
normally in C you define somewhat like
#define FALSE ((unsigned long) 0)
#define TRUE (~((unsigned long) 0))
(ok, there are more aesthetic ways, you can use "signed",...)
but using binary negation makes much sense in many ways. so in C TRUE evaluates
to max( long) (if you use the unsigned variant), and in fact i thought this
would be the implementation in R as well...
cu
till
-- "I have seen things you people wouldn't believe. Attack-ships on fire off the shoulder of Orion. I watched seabeams glitter in the dark near the Tannhauser gate. All those moments will be lost in time like tears in rain. Time to die." (Roy) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:19 EST