Say i have 

```
Log.e("deg: "+dd,  "X:"+ Math.sin( Math.toRadians(dd) ) +"| Y:"+Math.cos( Math.toRadians(dd) ) );

```

if dd = 180, then sin should be 0 and cos -1 , right? but it outpusts 

deg: 180 X:1.2246467991473532E-16| Y:-1.0

any ideas? Thanks!