- What browsers show this problem?
Tested with Chrome. - Please share an example project (if possible).
https://snap.berkeley.edu/project?user=themagician&project=Cosine_Problem
- Describes the steps to reproduce this issue.
Calculate cosine values using the block "cos of ..." - What does Snap! currently do?
Calculate incorrect cosine values. - What should Snap! do instead?
Calculate correct cosine values.
The provided project runs a variable i from 0 to 2*pi in 0.1 increments. Each step the cosine of i is calculated using the block "cos of ..." and added to a list.
The values in the list should go from 1 to 0 to -1 to 0 to 1. However, they always return something around 0.999.