Better IsOdd
Tell if a number is odd in one line of code. (and if its not odd its even, but i dont have to tell you that)
AI
AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
源代码
Function IsOdd(Var as integer) IsOdd = -(Var And 1) End Function
原始评论 (3)
从 Wayback Machine 恢复