Révision 153 pobysoPythonSage/src/testPobyso.sage

testPobyso.sage (revision 153)
137 137
    sollya_lib_clear_obj(constSo)
138 138
# End test_pobyso_get_prec_of_constant_so_sa
139 139

  
140
def test_pobyso_guess_degree_so_sa(iterationsNum=10000):
141
    print "Running", inspect.stack()[0][3]
142
    funcExpSo = pobyso_parse_string_sa_so("exp(x)")
143
    RRIF = RealIntervalField(113)
144
    intervalSa = RRIF(3/8 - 2^-68, 3/8 + 2^-68)
145
    print ai.str(style='brackets')
146
    intervalSo = pobyso_interval_to_range_sa_so(intervalSa)
147
    errorSo = pobyso_constant_sa_so(2^-227)
148
    # Compute the other arguments...
149
    for index in xrange(0,iterationsNum):
150
        pass
151
# End test_pobyso_guess_degree
152

  
140 153
def test_pobyso_lib_init(iterationsNum=10000):
141 154
    """
142 155
    Must be called exactly once. Leaks lots of memory otherwise.

Formats disponibles : Unified diff