Skip to content

Commit b7b6cfd

Browse files
authored
update tombstone
1 parent 3be1a48 commit b7b6cfd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Chapter19/double.c

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// double.c
22
// Chapter 19
3-
// <book title>
3+
// Learn C Programming
44
//
55
// Demonstrate how to
66
// 1) print floating point in natural format nnnn.nnnn
77
// 2) print floating point in scientific notation
88
// 3) demonstrate G type conversion for optimal format of floating point
99
//
10-
// compile with: cc double.c -o double -Wall -Werror -std=c11
10+
// compile with:
11+
//
12+
// cc double.c -o double -Wall -Werror -std=c11
1113
//
1214

1315
#include <stdio.h>
@@ -46,4 +48,6 @@ int main( void )
4648
for( int i = 0 ; i < 10 ; i++, k *= 1000 )
4749
printf( " [%18.12g] [%18.3g] [%18.3G] [%18g]\n" ,
4850
k , k , k , k );
49-
}
51+
}
52+
53+
// eof

0 commit comments

Comments
 (0)