foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Type coercion from integer to floating point gives corrupted results when passing parameters #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
void function(double x)
{
printf("%f\n", x);
}

function(100000); 

Original issue reported on code.google.com by zik.sale...@gmail.com on 27 May 2009 at 10:06

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by zik.sale...@gmail.com on 27 May 2009 at 11:55