Skip to content

Commit

Permalink
Valuable::NegativeOrZero
Browse files Browse the repository at this point in the history
  • Loading branch information
ohhmm committed Sep 30, 2024
1 parent 1e6b15b commit 7d7c704
Show file tree
Hide file tree
Showing 4 changed files with 3,343 additions and 3,155 deletions.
1 change: 1 addition & 0 deletions omnn/math/Integer.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class Integer
/// </summary>
/// <returns></returns>
Valuable IntMod_IsNegativeOrZero() const override { return ca() <= 0 ? 0 : 1; }
Valuable NegativeOrZero() const override { return IntMod_IsNegativeOrZero(); }

/// <summary>
/// Operator 'less' then value to which a param expression is to be evaluated
Expand Down
Loading

0 comments on commit 7d7c704

Please sign in to comment.