mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove vestiges of top down widening.
This commit is contained in:
committed by
Christoffer Lerno
parent
e91cb85a66
commit
9eef34049d
@@ -46,7 +46,7 @@ fn int main(int argc, char **argv)
|
||||
byte_acc = 0;
|
||||
bit_num = 0;
|
||||
}
|
||||
else if (x == w - 1)
|
||||
else if (x == (double)w - 1)
|
||||
{
|
||||
byte_acc <<= (8 - w % 8);
|
||||
putchar(byte_acc);
|
||||
|
||||
@@ -6,7 +6,7 @@ double[] temparr;
|
||||
|
||||
fn double eval_A(int i, int j)
|
||||
{
|
||||
return 1.0 / ((i + j) * (i + j + 1) / 2 + i + 1);
|
||||
return 1.0 / (double)((i + j) * (i + j + 1) / 2 + i + 1);
|
||||
}
|
||||
|
||||
fn void eval_A_times_u(double[] u, double[] au, double[] x)
|
||||
|
||||
Reference in New Issue
Block a user