Files
react-native/Libraries
Max Komarychev cc3f9a7538 Fix native implementation of Animated.modulo (#23973)
Summary:
fixes #23875
[ios,android][fixes] incorrect behavior of `Animated.modulo`

Use the same formula as used in js: `mod(a,m)=>(a % m + m) % m` (https://github.com/facebook/react-native/blob/master/Libraries/Animated/src/nodes/AnimatedModulo.js#L35)

Native implementation of `Animated.modulo` was different from what was used in javascript, more details available here: https://github.com/facebook/react-native/issues/23875

[iOS] [Fixed] incorrect behavior of Animated.modulo
[Android] [Fixed] incorrect behavior of Animated.modulo
Pull Request resolved: https://github.com/facebook/react-native/pull/23973

Differential Revision: D14502697

Pulled By: cpojer

fbshipit-source-id: befef2b99ae758f98459caaadc8ebdbbd547e69a
2019-03-18 07:40:56 -07:00
..
2019-02-28 09:46:05 -08:00
2019-03-14 07:00:27 -07:00
2018-12-11 20:01:00 -08:00
2019-03-06 14:57:30 -08:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-01-17 02:41:59 -08:00
2018-10-31 01:37:26 -07:00
2019-03-06 14:57:30 -08:00
2019-03-14 07:00:27 -07:00
2019-03-14 07:00:27 -07:00
2019-03-06 14:57:30 -08:00