Skip to content

Commit

Permalink
- Removed Complex.is_even and Complex.is_odd methods as they didn't w…
Browse files Browse the repository at this point in the history
…orked anyway.
  • Loading branch information
trizen committed Dec 17, 2015
1 parent 5e94052 commit dad0453
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/Sidef/Types/Number/Complex.pm
Original file line number Diff line number Diff line change
Expand Up @@ -481,16 +481,6 @@ package Sidef::Types::Number::Complex {

*is_neg = \&is_negative;

sub is_even {
my ($self) = @_;
Sidef::Types::Bool::Bool->new($$self % 2 == 0);
}

sub is_odd {
my ($self) = @_;
Sidef::Types::Bool::Bool->new($$self % 2 != 0);
}

sub is_inf {
my ($self) = @_;
Sidef::Types::Bool::Bool->new($$self == 'inf');
Expand Down

0 comments on commit dad0453

Please sign in to comment.