~ can be used as logical negate in K. Is there an equivalent in Q?negin Q negates a numeric value./ e. g.q)neg 1b-1q)\ ~ 90b
q)not 01b10bq)On 02.12.2009, at 02:43, GH wrote:> ~ can be used as logical negate in K. Is there an equivalent in Q?> neg> in Q negates a numeric value.> > / e. g.> q)neg 1b> -1> q)\> ~ 9> 0b
Thanks for the tip.On Dec 2, 3:37?am, Simon Garland <simon.garl…> wrote:> q)not 01b> 10b> q)>> On 02.12.2009, at 02:43, GH wrote:>> > ~ can be ?used as logical negate in K. Is there an equivalent in Q?> > neg> > in Q negates a numeric value.>> > / e. g.> > q)neg 1b> > -1> > q)> > ?~ 9> > 0b</simon.garl…>