Please sign in to comment.
Helpers for proper conversion float values between CG and YG represen…
…tations Summary: Yoga and CoreGraphics have different opinions about how "infinity" value should be represented. Yoga uses `NAN` which requires additional effort to compare all those values, whereas GoreGraphics uses `GFLOAT_MAX` which can be easyly compared with standard `==` operator. Messing with this can cause super weired bugs like 100% CPU load for couple of seconds somewhere in CoreGraphics. Reviewed By: mmmulani Differential Revision: D6665633 fbshipit-source-id: b6236c6fa50d1f8fb0c9576203922f7b24b7301e
- Loading branch information...
Showing with 41 additions and 8 deletions.