On Friday, July 05, 2013 22:34:57 Timon Gehr wrote: > On 07/05/2013 10:34 PM, Timon Gehr wrote: > > On 07/05/2013 10:09 PM, Namespace wrote: > >>> Unary ~ is bitwise not in Java and D, and he is referring to binary > >>> usage. > >>> > >>> [...] use ~ for _any_ purpose. > >> > >> I'd expected that *any* really means *any* and do not refer to binary. > > > > Yes. Neither do 'use', 'for' and 'purpose'. Establishing that it is > > likely that ~ is referring to binary requires some more context (eg. it > > is likely that the two usages of ~ in his post refer to the same thing), > > common sense or the assumption that Jonathan probably knows about the > > unary usage. (Parsing natural language is quite hard though, so I could > > be wrong.) > > Turns out I was wrong. :o)
Yeah, well. It doesn't hurt my feelings any if you're erring on the side of thinking that I know what I'm talking about. :) And I'm certain that I've seen the unary usage of ~ before. I just couldn't think of it when I posted today. I really need more sleep... - Jonathan M Davis