mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +00:00
Support floating point numbers in expodential form so that small numbers don't get truncated, which broke the health benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6eaa457343
commit
1e2c614864
@ -111,7 +111,7 @@ NInteger -[0-9]+
|
|||||||
|
|
||||||
/* FPConstant - A Floating point constant.
|
/* FPConstant - A Floating point constant.
|
||||||
TODO: Expand lexer to support 10e50 FP constant notation */
|
TODO: Expand lexer to support 10e50 FP constant notation */
|
||||||
FPConstant -?[0-9]+[.][0-9]*
|
FPConstant [-+]?[0-9]+[.][0-9]*([eE][-+]?[0-9]+)?
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user