img3

Box with red outline and white background. Words in red at the top reading Whole number detector and just below and to the right it also reads in red version 2.1. Then in black it gives a mathematical expression which reads floor function of (2) to the (x - floor x). Underneath that in red is written outputs. If the output is 1 then x is whole. If the output is 0 then x is not whole.

More from Chalkdust

Both comments and trackbacks are currently closed.