Révision 230 pobysoPythonSage/src/pobyso.py
pobyso.py (revision 230) | ||
---|---|---|
81 | 81 |
SOLLYA_BASE_FUNC_TANH, |
82 | 82 |
SOLLYA_BASE_FUNC_TRIPLEDOUBLE) = map(int,xrange(44)) |
83 | 83 |
print "\nSuperficial pobyso check..." |
84 |
print "First constant - SOLLYA_BASE_FUNC_ABS: ", SOLLYA_BASE_FUNC_ABS |
|
85 |
print "Last constant - SOLLYA_BASE_FUNC_TRIPLEDOUBLE: ", SOLLYA_BASE_FUNC_TRIPLEDOUBLE |
|
84 |
#print "First constant - SOLLYA_BASE_FUNC_ABS: ", SOLLYA_BASE_FUNC_ABS
|
|
85 |
#print "Last constant - SOLLYA_BASE_FUNC_TRIPLEDOUBLE: ", SOLLYA_BASE_FUNC_TRIPLEDOUBLE
|
|
86 | 86 |
|
87 | 87 |
pobyso_max_arity = 9 |
88 | 88 |
|
... | ... | |
1988 | 1988 |
# There is no simple str() method defined for p's class. |
1989 | 1989 |
return(p.__str__()) |
1990 | 1990 |
# |
1991 |
print pobyso_get_prec() |
|
1991 |
#print pobyso_get_prec()
|
|
1992 | 1992 |
pobyso_set_prec(165) |
1993 |
print pobyso_get_prec() |
|
1994 |
a=100 |
|
1995 |
print type(a) |
|
1996 |
id(a) |
|
1997 |
print "Max arity: ", pobyso_max_arity |
|
1998 |
print "Function tripleDouble (43) as a string: ", pobyso_function_type_as_string(43) |
|
1999 |
print "Function None (44) as a string: ", pobyso_function_type_as_string(44) |
|
1993 |
#print pobyso_get_prec()
|
|
1994 |
#a=100
|
|
1995 |
#print type(a)
|
|
1996 |
#id(a)
|
|
1997 |
#print "Max arity: ", pobyso_max_arity
|
|
1998 |
#print "Function tripleDouble (43) as a string: ", pobyso_function_type_as_string(43)
|
|
1999 |
#print "Function None (44) as a string: ", pobyso_function_type_as_string(44)
|
|
2000 | 2000 |
print "...Pobyso check done" |
Formats disponibles : Unified diff