![]() |
Xyris
0.5
|
#include <stddef.h>#include <Library/Bitset.hpp>#include <Scheduler/tasks.hpp>#include <Applications/primes.hpp>#include <Devices/Graphics/console.hpp>
Include dependency graph for primes.cpp:Go to the source code of this file.
Namespaces | |
| Apps | |
Macros | |
| #define | PRIME_MAX_SQRT 4000 |
| #define | PRIME_MAX (PRIME_MAX_SQRT * PRIME_MAX_SQRT) |
| #define | PRIMES_SIZE (PRIME_MAX / (sizeof(size_t) * CHAR_BIT)) |
Functions | |
| void | Apps::find_primes (void) |
| void | Apps::show_primes (void) |
Prime computation tasks.
Definition in file primes.cpp.
| #define PRIME_MAX (PRIME_MAX_SQRT * PRIME_MAX_SQRT) |
Definition at line 21 of file primes.cpp.
| #define PRIME_MAX_SQRT 4000 |
Definition at line 20 of file primes.cpp.
| #define PRIMES_SIZE (PRIME_MAX / (sizeof(size_t) * CHAR_BIT)) |
Definition at line 22 of file primes.cpp.