mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-09 11:16:45 +08:00
unfck lint
This commit is contained in:
parent
6d6acd4364
commit
4a0bd5e9ea
@ -54,7 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) {
|
|||||||
class RandomEngine {
|
class RandomEngine {
|
||||||
public:
|
public:
|
||||||
RandomEngine() = delete;
|
RandomEngine() = delete;
|
||||||
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed){};
|
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {};
|
||||||
|
|
||||||
uint64_t next() {
|
uint64_t next() {
|
||||||
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
|
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
|
||||||
@ -258,9 +258,9 @@ bool tester(uint64_t seed, size_t volume) {
|
|||||||
int main() {
|
int main() {
|
||||||
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
|
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
|
||||||
defined(sun) || defined(__sun)
|
defined(sun) || defined(__sun)
|
||||||
std::cout << "Warning: msys/cygwin or solaris detected. This particular test is likely "
|
std::cout << "Warning: msys/cygwin or solaris detected. This particular test "
|
||||||
"to generate false failures due to our reliance on the "
|
"is likely to generate false failures due to our reliance on "
|
||||||
"underlying runtime library."
|
"the underlying runtime library."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
#else
|
#else
|
||||||
|
|||||||
@ -54,7 +54,7 @@ float cygwin_strtof_l(char const *start, char **end) {
|
|||||||
class RandomEngine {
|
class RandomEngine {
|
||||||
public:
|
public:
|
||||||
RandomEngine() = delete;
|
RandomEngine() = delete;
|
||||||
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed){};
|
RandomEngine(uint64_t new_seed) : wyhash64_x_(new_seed) {};
|
||||||
|
|
||||||
uint64_t next() {
|
uint64_t next() {
|
||||||
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
|
// Adapted from https://github.com/wangyi-fudan/wyhash/blob/master/wyhash.h
|
||||||
@ -253,9 +253,9 @@ bool tester(uint64_t seed, size_t volume) {
|
|||||||
int main() {
|
int main() {
|
||||||
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
|
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
|
||||||
defined(sun) || defined(__sun)
|
defined(sun) || defined(__sun)
|
||||||
std::cout << "Warning: msys/cygwin or solaris detected. This particular test is likely "
|
std::cout << "Warning: msys/cygwin or solaris detected. This particular test "
|
||||||
"to generate false failures due to our reliance on the "
|
"is likely to generate false failures due to our reliance on "
|
||||||
"underlying runtime library."
|
"the underlying runtime library."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user