Behdad Esfahbod
|
7e130ea438
|
[cython] Revert one of the cdivisions
Seeing if makes bot happy.
|
2018-10-09 09:46:30 -04:00 |
|
Behdad Esfahbod
|
3486a3635f
|
[cython] Sprinkle some cdivision
https://github.com/googlei18n/cu2qu/issues/155#issuecomment-427986961
The primary purpose is to disable div-by-zero check since we know it
can't happen in those functions.
|
2018-10-09 09:40:35 -04:00 |
|
Cosimo Lupo
|
4247b30dde
|
revert to using division instead of multiplication, fixes 1-unit diffs after v1.6
Fixes #155
|
2018-10-09 11:32:53 +01:00 |
|
Behdad Esfahbod
|
6be1737965
|
[cython] Minor add inline
|
2018-10-06 21:07:13 +02:00 |
|
Cosimo Lupo
|
0f80ff7b2c
|
cu2qu: add a COMPILED flag to check if cu2qu is running in compiled/interpreted mode
|
2018-09-26 19:02:02 +01:00 |
|
Cosimo Lupo
|
73d3ce4bc1
|
cu2qu: add language_level=3 and define_macros to enable coverage
|
2018-09-26 19:02:02 +01:00 |
|
Cosimo Lupo
|
c13ce2faee
|
cu2qu: return float('NaN') instead of None so return val matches signature
Otherwise I get 'TypeError: must be real number, not NoneType' when running tests with
the compiled cu2qu extension module
|
2018-09-26 19:02:02 +01:00 |
|
Cosimo Lupo
|
672b446c89
|
move cu2qu/__init__py to cu2qu/cu2qu.py so we can make an optional Extension module
|
2018-09-26 19:00:59 +01:00 |
|