🐐 Small fix
This commit is contained in:
@@ -236,7 +236,7 @@ static int write_val(CentValue v, char *buf, int bufsz) {
|
||||
long num = v.fval.num, den = v.fval.den;
|
||||
if (den < 0) { num = -num; den = -den; }
|
||||
if (num < 0)
|
||||
cent_runtime_error("cannot display negative fraction without SVBNVLLA");
|
||||
cent_runtime_error("cannot display negative numbers without SVBNVLLA");
|
||||
long int_part = num / den;
|
||||
long rem_num = num % den;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user