Parenthesises
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 3 articles for 0.387 sec
Hi all, I am working my way through 'Real World Haskell' as my first introduction to Haskell and am thoroughly enjoying both it and Haskell. I have, however, hit something of a brick wall in figuring out one of the examples used in chapter 4. The example code is flagged as 'non-trivial' to understand, but I am trying to understand each thing presented reasonably well before I move on. I was hoping     

Group: fa.haskell · Group Profile · Search for Parenthesises in fa.haskell
Author: Matt Andrew
Date: May 13, 2010 19:29

Ben Bacarisse <ben.usenet@bsb.me.uk> wrote: !*a<0 means (!*a) < 0 but that is not what was written. The ! is outside a fully parenthesised relational expression: !(E < 0) or E = 0 By the way, I agree entirely with your re-write (in a subsequent post). Using array notation is much clearer: int16_t *half_word = (void *)&CorrValue; while (half_word[1] = 0) ... however
Show full article (2.41Kb)
"io_x" <a@b.c.invalid> writes: > "Jason" <cincydsp@gmail.com> ha scritto nel messaggio > news:87ef5391-d194-4e7c-908e-3af03868b5ca@h39g2000yqn.googlegroups.com... > On May 13, 10:00 am, narke <narkewo...@gmail.com> wrote: <snip> >> while(!(*((int16_t*) &CorrValue + 1) < 0)) // MS_Bit = 0 > > the problem i have here: !*a<0 means !(*a<0), or it means ((!*a)<0)? > i think it is the second one     

Group: comp.dsp · Group Profile · Search for Parenthesises in comp.dsp
Author: Steve Pope
Date: May 13, 2010 11:53

Show full article (0.73Kb) · Show article thread
    

Group: comp.dsp · Group Profile · Search for Parenthesises in comp.dsp
Author: Ben Bacarisse
Date: May 13, 2010 11:50

Show full article (0.84Kb) · Show article thread