When calculating values for sin and the corresponding value 180° greater using the python math library the values are slightly different in this example there is a difference of 1.1102230246251565e-16
a=math.sin(math.radians(45))
print(a)
>>>0.7071067811865476
b=math.sin(math.radians(225))
print(b)
>>>-0.7071067811865475
a+b
>>>1.1102230246251565e-16
What I would like to get is the same value for both with the value for one being negative, so that the sum of the two would be equal.
I would appreciate any advice, Thank you.