﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20	logical, relational and arithmetic functions behaviour.	manuelb	danirus	"(From the old tol forums) 
All logic, bitwise, relational and arithmetic functions, like sum(+), AND(&), 
etc. are shown as normal procedures/functions, eventhough their use is much 
more alike. 
See this example: 
 
 - Function: Real Sum(Real x1 [, Real x2, ...])  
 - Use: Real Sum(4, 5, 1) {= 10}  
  
 - Function: Real +(Real x1, Real x2)  
 - Use: Real +(4, 5, 1) {= ERROR}  
 - Correct use: Real 4+5+1 {= 10}  
  
I think it would be more clarifying to describe the functions as they are 
used. In fact, the original doubt I had was about the logic operators '&', '|' 
and '!'. 
 - '&' is the logical operator equivalence for 'And', but has a different 
logical use. 
 - '|' is the logical operator equivalence for 'Or', but has a different 
logical use. 
- '!'  is the logical operator equivalence for 'Not(And())', but has a similar 
behaviour. 
  
By the way: The operator '!' does not come in the Real functions list. 
  
Regards."	enhancement	closed	lowest		Math	head	minor	fixed		
