Skip to content

Commit 663fd91

Browse files
committed
fix: include of iostream is now required on client code
1 parent e65f977 commit 663fd91

10 files changed

+18
-15
lines changed

tests/exhaustive32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include "fast_float/fast_float.h"
33

4-
4+
#include <iostream>
55
#include <cassert>
66
#include <cmath>
77

@@ -56,4 +56,4 @@ int main() {
5656
std::cout << std::endl;
5757
std::cout << "all ok" << std::endl;
5858
return EXIT_SUCCESS;
59-
}
59+
}

tests/exhaustive32_64.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include "fast_float/fast_float.h"
33

4-
4+
#include <iostream>
55
#include <cassert>
66
#include <cmath>
77

@@ -70,4 +70,4 @@ int main() {
7070
std::cout << std::endl;
7171
std::cout << "all ok" << std::endl;
7272
return EXIT_SUCCESS;
73-
}
73+
}

tests/exhaustive32_midpoint.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "fast_float/fast_float.h"
22

3-
3+
#include <iostream>
44
#include <cassert>
55
#include <cmath>
66

@@ -119,4 +119,4 @@ int main() {
119119
std::cout << std::endl;
120120
std::cout << "all ok" << std::endl;
121121
return EXIT_SUCCESS;
122-
}
122+
}

tests/long_exhaustive32.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include "fast_float/fast_float.h"
33

4-
4+
#include <iostream>
55
#include <cassert>
66
#include <cmath>
77

@@ -57,4 +57,4 @@ int main() {
5757
std::cout << std::endl;
5858
std::cout << "all ok" << std::endl;
5959
return EXIT_SUCCESS;
60-
}
60+
}

tests/long_exhaustive32_64.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "fast_float/fast_float.h"
22

3-
3+
#include <iostream>
44
#include <cassert>
55
#include <cmath>
66

@@ -56,4 +56,4 @@ int main() {
5656
std::cout << std::endl;
5757
std::cout << "all ok" << std::endl;
5858
return EXIT_SUCCESS;
59-
}
59+
}

tests/long_random64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "fast_float/fast_float.h"
22

3-
3+
#include <iostream>
44
#include <cassert>
55
#include <cmath>
66

tests/random64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "fast_float/fast_float.h"
22

3-
3+
#include <iostream>
44
#include <cassert>
55
#include <cmath>
66

tests/random_string.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#include "fast_float/fast_float.h"
2+
3+
#include <iostream>
24
#include <cstdint>
35
#include <random>
46

@@ -212,4 +214,4 @@ int main() {
212214
}
213215
std::cout << "Failure." << std::endl;
214216
return EXIT_FAILURE;
215-
}
217+
}

tests/short_random_string.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "fast_float/fast_float.h"
2+
#include <iostream>
23
#include <cstdint>
34
#include <random>
45

@@ -208,4 +209,4 @@ int main() {
208209
}
209210
std::cout << "Failure." << std::endl;
210211
return EXIT_FAILURE;
211-
}
212+
}

tests/string_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "fast_float/fast_float.h"
2-
2+
#include <iostream>
33
#include <vector>
44

55
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || defined(sun) || defined(__sun)

0 commit comments

Comments
 (0)