Skip to content
Snippets Groups Projects
Commit e8a66070 authored by Kevin Höllring's avatar Kevin Höllring
Browse files

Fix wrong type of gcc specific types

parent 8d764072
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,8 @@ int main(int argc, char** arguments) {
// Special gcc feature: even larger integers
// Warning: These cannot normally be written to cout/cerr
// and many common operations might not be supported
int128_t var9;
uint128_t var10;
__int128_t var9;
__uint128_t var10;
// Floating point types
......@@ -56,14 +54,11 @@ int main(int argc, char** arguments) {
// FLT_MIN = 1.175494e-38
// FLT_MAX = 3.402823e+38
// 64 bit floating point
double fp_number_2 = 1e10;
// DBL_MIN = 2.2250738585072014e-308
// DBL_MAX = 1.7976931348623157e+308
// Strings of text
std::string text_contents = "Hello world";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment