close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#377 closed defect (fixed)

Problem in defining real numbers in scientific format

Reported by: Christian Paz Owned by: Víctor de Buen Remiro
Priority: normal Milestone:
Component: Math Version: head
Severity: major Keywords:
Cc:

Description

Different formats of Real are strangely not accepted:

Real var1=1e+308; Syntactic error
Real var2= 1e+308;
OK: note the blank after the equal sign
Real var3=-1e+308 Syntactic error
Real var4= -1e+308
Syntactic error
Real var5= - 1e+308 OK: note the blank after the - sign and equal sign

I suppose there was a change in Parser that causes this. At least the line
referring to var4 was always valid (-1e+308)

Thanks
Christian

Change History (3)

comment:1 Changed 19 years ago by Víctor de Buen Remiro

Owner: changed from danirus to Víctor de Buen Remiro

comment:2 Changed 19 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

Fixed bug 377. At filtering time, a blank character must be inserted bteween
operators and floating point numbers.
This is an error from the first version of TOL a lot of years ago, but nobody reports
until now.
Thanks to report it

comment:3 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000377
Note: See TracTickets for help on using tickets.