t438.trans 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. Module(body=[Import(names=[alias(name='math',
  2. asname=None)]),
  3. Print(dest=None,
  4. values=[Str(s='\nmath.ceil(x)')],
  5. nl=True),
  6. Print(dest=None,
  7. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  8. ctx=Load()),
  9. attr='ceil',
  10. ctx=Load()),
  11. args=[Num(n=0.0)],
  12. keywords=[],
  13. starargs=None,
  14. kwargs=None),
  15. ops=[Eq()],
  16. comparators=[Num(n=0)])],
  17. nl=True),
  18. Print(dest=None,
  19. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  20. ctx=Load()),
  21. attr='ceil',
  22. ctx=Load()),
  23. args=[Num(n=-0.1)],
  24. keywords=[],
  25. starargs=None,
  26. kwargs=None),
  27. ops=[Eq()],
  28. comparators=[Num(n=0)])],
  29. nl=True),
  30. Print(dest=None,
  31. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  32. ctx=Load()),
  33. attr='ceil',
  34. ctx=Load()),
  35. args=[Num(n=-0.4)],
  36. keywords=[],
  37. starargs=None,
  38. kwargs=None),
  39. ops=[Eq()],
  40. comparators=[Num(n=0)])],
  41. nl=True),
  42. Print(dest=None,
  43. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  44. ctx=Load()),
  45. attr='ceil',
  46. ctx=Load()),
  47. args=[Num(n=-0.5)],
  48. keywords=[],
  49. starargs=None,
  50. kwargs=None),
  51. ops=[Eq()],
  52. comparators=[Num(n=0)])],
  53. nl=True),
  54. Print(dest=None,
  55. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  56. ctx=Load()),
  57. attr='ceil',
  58. ctx=Load()),
  59. args=[Num(n=-0.9)],
  60. keywords=[],
  61. starargs=None,
  62. kwargs=None),
  63. ops=[Eq()],
  64. comparators=[Num(n=0)])],
  65. nl=True),
  66. Print(dest=None,
  67. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  68. ctx=Load()),
  69. attr='ceil',
  70. ctx=Load()),
  71. args=[Num(n=0.1)],
  72. keywords=[],
  73. starargs=None,
  74. kwargs=None),
  75. ops=[Eq()],
  76. comparators=[Num(n=1)])],
  77. nl=True),
  78. Print(dest=None,
  79. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  80. ctx=Load()),
  81. attr='ceil',
  82. ctx=Load()),
  83. args=[Num(n=0.4)],
  84. keywords=[],
  85. starargs=None,
  86. kwargs=None),
  87. ops=[Eq()],
  88. comparators=[Num(n=1)])],
  89. nl=True),
  90. Print(dest=None,
  91. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  92. ctx=Load()),
  93. attr='ceil',
  94. ctx=Load()),
  95. args=[Num(n=0.5)],
  96. keywords=[],
  97. starargs=None,
  98. kwargs=None),
  99. ops=[Eq()],
  100. comparators=[Num(n=1)])],
  101. nl=True),
  102. Print(dest=None,
  103. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  104. ctx=Load()),
  105. attr='ceil',
  106. ctx=Load()),
  107. args=[Num(n=0.9)],
  108. keywords=[],
  109. starargs=None,
  110. kwargs=None),
  111. ops=[Eq()],
  112. comparators=[Num(n=1)])],
  113. nl=True),
  114. Print(dest=None,
  115. values=[Str(s='\nmath.fabs(x)')],
  116. nl=True),
  117. Print(dest=None,
  118. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  119. ctx=Load()),
  120. attr='fabs',
  121. ctx=Load()),
  122. args=[Num(n=-1)],
  123. keywords=[],
  124. starargs=None,
  125. kwargs=None),
  126. ops=[Eq()],
  127. comparators=[Num(n=1.0)])],
  128. nl=True),
  129. Print(dest=None,
  130. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  131. ctx=Load()),
  132. attr='fabs',
  133. ctx=Load()),
  134. args=[Num(n=1)],
  135. keywords=[],
  136. starargs=None,
  137. kwargs=None),
  138. ops=[Eq()],
  139. comparators=[Num(n=1.0)])],
  140. nl=True),
  141. Print(dest=None,
  142. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  143. ctx=Load()),
  144. attr='fabs',
  145. ctx=Load()),
  146. args=[Num(n=0)],
  147. keywords=[],
  148. starargs=None,
  149. kwargs=None),
  150. ops=[Eq()],
  151. comparators=[Num(n=0.0)])],
  152. nl=True),
  153. Print(dest=None,
  154. values=[Str(s='\nmath.floor(x)')],
  155. nl=True),
  156. Print(dest=None,
  157. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  158. ctx=Load()),
  159. attr='floor',
  160. ctx=Load()),
  161. args=[Num(n=0.0)],
  162. keywords=[],
  163. starargs=None,
  164. kwargs=None),
  165. ops=[Eq()],
  166. comparators=[Num(n=0)])],
  167. nl=True),
  168. Print(dest=None,
  169. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  170. ctx=Load()),
  171. attr='floor',
  172. ctx=Load()),
  173. args=[Num(n=-0.1)],
  174. keywords=[],
  175. starargs=None,
  176. kwargs=None),
  177. ops=[Eq()],
  178. comparators=[Num(n=-1)])],
  179. nl=True),
  180. Print(dest=None,
  181. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  182. ctx=Load()),
  183. attr='floor',
  184. ctx=Load()),
  185. args=[Num(n=-0.4)],
  186. keywords=[],
  187. starargs=None,
  188. kwargs=None),
  189. ops=[Eq()],
  190. comparators=[Num(n=-1)])],
  191. nl=True),
  192. Print(dest=None,
  193. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  194. ctx=Load()),
  195. attr='floor',
  196. ctx=Load()),
  197. args=[Num(n=-0.5)],
  198. keywords=[],
  199. starargs=None,
  200. kwargs=None),
  201. ops=[Eq()],
  202. comparators=[Num(n=-1)])],
  203. nl=True),
  204. Print(dest=None,
  205. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  206. ctx=Load()),
  207. attr='floor',
  208. ctx=Load()),
  209. args=[Num(n=-0.9)],
  210. keywords=[],
  211. starargs=None,
  212. kwargs=None),
  213. ops=[Eq()],
  214. comparators=[Num(n=-1)])],
  215. nl=True),
  216. Print(dest=None,
  217. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  218. ctx=Load()),
  219. attr='floor',
  220. ctx=Load()),
  221. args=[Num(n=0.1)],
  222. keywords=[],
  223. starargs=None,
  224. kwargs=None),
  225. ops=[Eq()],
  226. comparators=[Num(n=0)])],
  227. nl=True),
  228. Print(dest=None,
  229. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  230. ctx=Load()),
  231. attr='floor',
  232. ctx=Load()),
  233. args=[Num(n=0.4)],
  234. keywords=[],
  235. starargs=None,
  236. kwargs=None),
  237. ops=[Eq()],
  238. comparators=[Num(n=0)])],
  239. nl=True),
  240. Print(dest=None,
  241. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  242. ctx=Load()),
  243. attr='floor',
  244. ctx=Load()),
  245. args=[Num(n=0.5)],
  246. keywords=[],
  247. starargs=None,
  248. kwargs=None),
  249. ops=[Eq()],
  250. comparators=[Num(n=0)])],
  251. nl=True),
  252. Print(dest=None,
  253. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  254. ctx=Load()),
  255. attr='floor',
  256. ctx=Load()),
  257. args=[Num(n=0.9)],
  258. keywords=[],
  259. starargs=None,
  260. kwargs=None),
  261. ops=[Eq()],
  262. comparators=[Num(n=0)])],
  263. nl=True),
  264. Print(dest=None,
  265. values=[Str(s='\nmath.trunc(x)')],
  266. nl=True),
  267. Print(dest=None,
  268. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  269. ctx=Load()),
  270. attr='trunc',
  271. ctx=Load()),
  272. args=[Num(n=12.34)],
  273. keywords=[],
  274. starargs=None,
  275. kwargs=None),
  276. ops=[Eq()],
  277. comparators=[Num(n=12)])],
  278. nl=True),
  279. Print(dest=None,
  280. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  281. ctx=Load()),
  282. attr='trunc',
  283. ctx=Load()),
  284. args=[Num(n=-12.34)],
  285. keywords=[],
  286. starargs=None,
  287. kwargs=None),
  288. ops=[Eq()],
  289. comparators=[Num(n=-12)])],
  290. nl=True),
  291. Print(dest=None,
  292. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  293. ctx=Load()),
  294. attr='trunc',
  295. ctx=Load()),
  296. args=[Num(n=567000000.0)],
  297. keywords=[],
  298. starargs=None,
  299. kwargs=None),
  300. ops=[Eq()],
  301. comparators=[Num(n=567000000)])],
  302. nl=True),
  303. Print(dest=None,
  304. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  305. ctx=Load()),
  306. attr='trunc',
  307. ctx=Load()),
  308. args=[Num(n=-567000000.0)],
  309. keywords=[],
  310. starargs=None,
  311. kwargs=None),
  312. ops=[Eq()],
  313. comparators=[Num(n=-567000000)])],
  314. nl=True),
  315. Print(dest=None,
  316. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  317. ctx=Load()),
  318. attr='trunc',
  319. ctx=Load()),
  320. args=[Num(n=5.67e-08)],
  321. keywords=[],
  322. starargs=None,
  323. kwargs=None),
  324. ops=[Eq()],
  325. comparators=[Num(n=0)])],
  326. nl=True),
  327. Print(dest=None,
  328. values=[Compare(left=Call(func=Attribute(value=Name(id='math',
  329. ctx=Load()),
  330. attr='trunc',
  331. ctx=Load()),
  332. args=[Num(n=-5.67e-08)],
  333. keywords=[],
  334. starargs=None,
  335. kwargs=None),
  336. ops=[Eq()],
  337. comparators=[Num(n=0)])],
  338. nl=True)])