Feature #909
CodeEditor C/C++ Highlighter scientific float notation support
Status: | Approved | Start date: | 10/16/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | Zbigniew Rebacz | % Done: | 0% | |
Category: | CodeEditor | Spent time: | - | |
Target version: | - |
Description
It would be nice if numbers with "e" highlights as regular float/double.
Example:
double x = 5e2; double y = 5e-2;
P.S.
It seems that even redmine cpp highlighter has problem with this kind of numbers :)
History
#1 Updated by Zbigniew Rebacz almost 10 years ago
- Assignee set to Zbigniew Rebacz
#2 Updated by Zbigniew Rebacz almost 10 years ago
It should also works for int's
int milion = 1e6;
int thousand = 1e4;
#3 Updated by Zbigniew Rebacz almost 10 years ago
It sseems that it is bug, beacuse only following statement is not highlighted:
int x = 5.2434e100;
#4 Updated by Miroslav Fidler almost 10 years ago
- Status changed from New to Ready for QA
#5 Updated by Zbigniew Rebacz almost 10 years ago
- Status changed from Ready for QA to Approved