mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 20:45:06 +02:00
Remove old comment
This commit is contained in:
parent
470fb17465
commit
1affaad8b1
1 changed files with 0 additions and 1 deletions
|
@ -2962,7 +2962,6 @@ object Cyc_div_op(void *data, common_type * x, object y)
|
||||||
if (tx == integer_tag && ty == -1) {
|
if (tx == integer_tag && ty == -1) {
|
||||||
if (obj_obj2int(y) == 0) {
|
if (obj_obj2int(y) == 0) {
|
||||||
Cyc_rt_raise_msg(data, "Divide by zero");
|
Cyc_rt_raise_msg(data, "Divide by zero");
|
||||||
// TODO: check for bignum div by zero
|
|
||||||
}
|
}
|
||||||
x->double_t.tag = double_tag;
|
x->double_t.tag = double_tag;
|
||||||
x->double_t.value = ((double)x->integer_t.value) / (obj_obj2int(y));
|
x->double_t.value = ((double)x->integer_t.value) / (obj_obj2int(y));
|
||||||
|
|
Loading…
Add table
Reference in a new issue