line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright (c) 2012-2017 Martin Becker, Blaubeuren. All rights reserved. |
2
|
|
|
|
|
|
|
# This package is free software; you can redistribute it and/or modify it |
3
|
|
|
|
|
|
|
# under the same terms as Perl itself. |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Math::Logic::Ternary::Object; |
6
|
|
|
|
|
|
|
|
7
|
17
|
|
|
17
|
|
9000
|
use 5.008; |
|
17
|
|
|
|
|
56
|
|
8
|
17
|
|
|
17
|
|
90
|
use strict; |
|
17
|
|
|
|
|
31
|
|
|
17
|
|
|
|
|
342
|
|
9
|
17
|
|
|
17
|
|
77
|
use warnings; |
|
17
|
|
|
|
|
31
|
|
|
17
|
|
|
|
|
441
|
|
10
|
17
|
|
|
17
|
|
134
|
use Role::Basic; |
|
17
|
|
|
|
|
38
|
|
|
17
|
|
|
|
|
91
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $VERSION = '0.004'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
requires qw( |
15
|
|
|
|
|
|
|
Trit Trits Rtrits Sign |
16
|
|
|
|
|
|
|
as_int as_int_u as_int_v as_string |
17
|
|
|
|
|
|
|
is_equal res_mod3 |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |