mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Release calc version 2.11.0t10
This commit is contained in:
4
prime.c
4
prime.c
@@ -31,8 +31,8 @@
|
||||
/*
|
||||
* odd prime bitmap for odd values < 2^16
|
||||
*
|
||||
* pr_map[i] & (1<<j) == 1 ==> i*16 + j*2 + 1 is prime
|
||||
* 0 ==> i*16 + j*2 + 1 is not prime
|
||||
* pr_map[i] & (1<<j) == 1 ==> i*16 + j*2 + 1 is prime
|
||||
* 0 ==> i*16 + j*2 + 1 is not prime
|
||||
*
|
||||
* This table is useful to quickly determining if a 16 bit odd number
|
||||
* is prime. Use the prime[] array to quickly walk thru the 16 bit
|
||||
|
Reference in New Issue
Block a user