Bug 61400

Summary: Error de pecedencia en la formula
Product: LibreOffice Reporter: Calculin <phelal>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: bfo.bugmail, jorendc, miguelangelrv
Priority: medium    
Version: 3.6.1.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: contiene el ejemplo descrito arriba

Description Calculin 2013-02-24 15:36:58 UTC
Created attachment 75449 [details]
contiene el ejemplo descrito arriba

La precedencia de los operadores está mal.
Los signos de sumar (+) y restar (-) separan términos y en el ejemplo adjunto no se que cuenta hace para que el resultado sea 26:

Observen que si agrego paréntesis, el resultado da 24, pero estos no debería tener que agregarlos.

      A  |      B       |      C                                             
 1
 2   255	7,9943534369    '=LOG(A2;2)	
 3	                   7    '=ENTERO(B2)	
 4	                   8    '=B3+1	
 5	                  24    '=32-B4        24 IS OK
 6			
 7			
 8   255	           8    '=ENTERO(LOG(A8;2))+1	
 9   255	          26    '=32-ENTERO(LOG(A9;2))+1	26 IS WRONG
10   255	          24    '=32-(ENTERO(LOG(A10;2))+1)	

Muchas gracias.
Comment 1 m_a_riosv 2013-02-24 17:03:02 UTC
Hola Calculin, gracias por el reporte.
Antes de nada recuerda que este sistema de reporte de errores funciona en inglés. Si no te es posible reportar en inglés por favor hazlo saber y esperemos que alguien lo traduzca.

En cuanto a tu cuestión no veo el error.
8 => 32-7+1 = 26
9 => 32-(7+1) = 32-8 = 24
Comment 2 bfoman (inactive) 2013-06-24 11:28:23 UTC
@mariosv 
Could you write about status of this bug in English? Thanks.
Comment 3 Jorendc 2013-08-06 20:13:26 UTC
Per comment 2. Translate fully in English please. Otherwise we'll have to mark this as INVALID. Thanks for your understanding.

Kind regards,
Joren
Comment 4 m_a_riosv 2013-08-06 21:26:53 UTC
IMO there is not a bug, in my understanding the reporter was mistaken about the use of parenthesis.