Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Sudde |
zero returned by trigonometric functions are greater than zero
func _ready():
print('--------')
print(sin(PI))
print(sin(PI)>0)
print('--------')
print(cos(PI/2))
print(cos(PI/2)>0)
print('--------')
output
--------
0
True
--------
0
True
Is this expected behavior?