Files
Document-Management-System-…/vendor/scrivo/highlight.php/test/markup/cpp/number-literals.txt
2021-04-07 19:25:18 -04:00

7 lines
351 B
Plaintext
Vendored

/* digit separators */
int number = 2'555'555'555; // digit separators
float exponentFloat = .123'456e3'000; // digit separators in floats
float suffixed = 3.000'001'234f // digit separators in suffixed numbers
char word[] = { '3', '\0' }; // make sure digit separators don't mess up chars
float negative = -123.0f; // negative floating point numbers