precedence lossage
/pre' s*-dens los' *j/ A C coding error in an expression due to unintended grouping of arithmetic or logical operators. Used especially of certain common coding errors in C due to the nonintuitively low precedence levels of "&", "|", "^", "<<" and ">>". For example, the following C expression, intended to test the least significant bit of x, x & 1 == 0 is parsed as x & (1 == 0) which the compiler would probably evaluate at compile-time to (x & 0) and then to 0. Precedence lossage can always be avoided by suitable use of parentheses. For this reason, some C programmers deliberately ignore the language' s precedence hierarchy and parenthesise defensively. Lisp fans enjoy pointing out that this can' t happen in *their* favourite language, which eschews precedence entirely, requiring one to use e XPLicit parentheses everywhere. Other sources of bugs include aliasing bug, memory leak, memory smash, smash the stack, fandango on core, overrun screw. [ Jargon File] (1994-12-16) In addition suitable contents: [ 2 ] [ = ] [ ag ] [ ai ] [ al ] [ aliasing ] [ aliasing bug ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ arg ] [ as ] [ ash ] [ at ] [ av ] [ b ] [ ba ] [ be ] [ bi ] [ bit ] [ by ] [ C ] [ ca ] [ can' t happen ] [ ch ] [ ci ] [ ck ] [ cl ] [ co ] [ com ] [ compiler ] [ core ] [ cr ] [ de ] [ ding ] [ du ] [ ec ] [ ed ] [ er ] [ era ] [ error ] [ es ] [ et ] [ expression ] [ fandango on core ] [ fi ] [ file ] [ fo ] [ ge ] [ gi ] [ gn ] [ gr ] [ group ] [ gu ] [ h ] [ hat ] [ hierarchy ] [ hm ] [ hr ] [ id ] [ ie ] [ il ] [ in ] [ inc ] [ include ] [ int ] [ io ] [ ir ] [ is ] [ it ] [ J ] [ Jargon File ] [ jo ] [ la ] [ language ] [ ld ] [ leak ] [ least significant bit ] [ Lex ] [ li ] [ Lisp ] [ logical ] [ loss ] [ lossage ] [ ls ] [ lu ] [ ly ] [ ma ] [ memory ] [ memory leak ] [ memory smash ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ ns ] [ O ] [ om ] [ op ] [ operator ] [ overrun ] [ overrun screw ] [ pa ] [ parent ] [ parentheses ] [ pe ] [ ph ] [ ping ] [ pl ] [ point ] [ pr ] [ program ] [ programmer ] [ query ] [ rc ] [ re ] [ ro ] [ ru ] [ run ] [ sa ] [ sc ] [ screw ] [ se ] [ sh ] [ si ] [ sig ] [ sm ] [ smash the stack ] [ so ] [ source ] [ spec ] [ st ] [ stack ] [ su ] [ suit ] [ table ] [ test ] [ th ] [ to ] [ ua ] [ ug ] [ up ] [ us ] [ va ] [ ve ] [ win ] [ ws ]
[ Go Back ]
Free On-line Dictionary of Computing Copyright © by OnlineWoerterBuecher.de - (7027 Reads) |