Temperatures are rounded but negative zero is not a number

Originator:kimslawson
Number:rdar://29930173 Date Originated:1/9/2016
Status:Open Resolved:
Product:iOS Product Version:10.2
Classification:Bug Reproducible:Always
 
Summary:
When the temperature is slightly below zero, Siri rounds to zero but neglects to take off the negative sign. It does this in one place in the output, but shows it properly in another place. See attached screenshot.

Steps to Reproduce:
1. Ask Siri for the temperature somewhere where it is slightly below zero.
2. Observe the two different temperatures reported in Siri's output: -0 and 0. Note that it is correct in the summary text at the top of the screenshot, but in the Weather "card" below it shows the negative sign.

Expected Results:
Both would report 0.

Actual Results:
One reports -0 (not a number), the other 0.

Version:
This has been present as far as I know of since (at least) iOS 7. I am currently running 10.2 (14C92)

Notes:
Unsure if this is actually a Siri problem, or a Weather.app problem.

Configuration:
iPhone 5s.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!