Changed pointScaleFactor usage to avoid accumulating error
Changed pointScaleFactor usage to avoid accumulating error

Summary: Previously pointScaleFactor was stored as a divider that opened way to accumulating difference. For instance in ScreenScale=3, pointScaleFactor = 0.3333343 (0.000001 error). When used for width = 300 that error was multiplied by the number of times pointScale contained in width (300 *3 = 900) and we had almost 0.001 error accumulated. With this change Yoga will avoid such issue

Reviewed By: shergin

Differential Revision: D5137923

fbshipit-source-id: 652b59bc3da3f35ee93ffa3695936f623298a023

facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho