Comments

I guess this is because the pointer in 64bit system is 8 bytes :(

maybe you didn't control the condition like if(c>eps)