diff options
| author | tylov <[email protected]> | 2023-07-24 08:41:55 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-07-24 08:41:55 +0200 |
| commit | 650b053f443f9132dadb6d1ca924c0b36849739f (patch) | |
| tree | 88011006f6d536cdb1ad1eca8073392ca80687cc /misc/examples/bitsets | |
| parent | d9464e7ddfa70860ca09d373d01dc1a6f7730271 (diff) | |
| download | STC-modified-650b053f443f9132dadb6d1ca924c0b36849739f.tar.gz STC-modified-650b053f443f9132dadb6d1ca924c0b36849739f.zip | |
Fix for: Merge branch 'master' into dev43
Diffstat (limited to 'misc/examples/bitsets')
| -rw-r--r-- | misc/examples/bitsets/prime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/bitsets/prime.c b/misc/examples/bitsets/prime.c index 8216e332..7e5a2b3f 100644 --- a/misc/examples/bitsets/prime.c +++ b/misc/examples/bitsets/prime.c @@ -35,7 +35,7 @@ int main(void) llong np = cbits_count(&primes); t = clock() - t; - printf("Number of primes: %lld, time: %f\n\n", np, (float)t / (float)CLOCKS_PER_SEC); + printf("Number of primes: %lld, time: %f\n\n", np, (double)t/CLOCKS_PER_SEC); puts("Show all the primes in the range [2, 1000):"); printf("2"); |
