Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arguiot/TheoremJS
/ sieve
Method
sieve
__test__/theorem.js:847–854 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
845
}
846
}
847
* sieve() {
848
let
n = 2;
849
850
while
(true) {
851
if
(this.isPrime(n)) yield n;
852
n++;
853
}
854
}
855
convert(value,
type
, a, b) {
856
class
Units {
857
area(v, a, b) {
Callers
4
nPrime
Method · 0.95
primePi
Method · 0.95
nPrime.js
File · 0.80
primePi.js
File · 0.80
Calls
1
isPrime
Method · 0.95
Tested by
no test coverage detected