Skip to content

Commit

Permalink
Merge pull request #43 from JoshBenn/main
Browse files Browse the repository at this point in the history
Fixed names
  • Loading branch information
Lvcky-gg authored Dec 20, 2023
2 parents efef472 + 34b1f79 commit 171cbd6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ export const notNotOdd_cpp = async function(num) {
}
}

function defNotNotOdd(num) {
function defNotNotEven(num) {
//Cosine of the number times Math.PI == 1 is even
return Math.cos(num * Math.PI) === 1;
}

function defNotNotEven(num) {
function defNotNotOdd(num) {
//what better way to determine than to determine the opposite of the determined
return !defNotNotOdd(num);
return !defNotNotEven(num);
}

//Just a little randomness involved with unnecessary sequences to determine the status
Expand All @@ -98,7 +98,7 @@ function doesNotNotOddNotOddlyOdd() {
return fib(n - 1) + fib(n - 2);
}

return defNotNotOdd(fib(rand));
return defNotNotEven(fib(rand));
}
export const notNotOdd_perl = num => notNotOdd_pl(num);
export const notNotOdd = num => !not_odd(num);
Expand Down

0 comments on commit 171cbd6

Please sign in to comment.