Skip to content

firminunderscore/odd-even

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odd-even

Sometimes, you just use the modulo operator to check if a number is odd or even. But, there is a smarter way to do it.

This project is a simple implementation of a generator that generates if statements to check if a number is odd or even.

⚠️ For technical reasons, the functions given in these files are limited to 100000000. If the number is higher, the function will return false, even if the number is odd or even.

This script generates TypeScript functions but it is written in C++ for faster creation!

About

Prototype of a (very) stupid idea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published