Feature #909

CodeEditor C/C++ Highlighter scientific float notation support

Added by Zbigniew Rebacz almost 10 years ago. Updated almost 10 years ago.

Status:ApprovedStart date:10/16/2014
Priority:LowDue date:
Assignee:Zbigniew Rebacz% Done:

0%

Category:CodeEditorSpent 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

Also available in: Atom PDF