rocketraman
01/20/2023, 3:28 PMtransformLatest, but for some reason the collect is essentially running continuously in some kind of tight loop. On Android the same code works fine. Same code also worked fine with native-mt and the older memory model.rocketraman
01/20/2023, 4:57 PMtransformLatest to be cancelled -- seems to be an issue with a StateFlow conflation / state equality not working the same as on Android, for some reason.rocketraman
01/20/2023, 5:23 PMrocketraman
01/20/2023, 5:31 PMrocketraman
01/20/2023, 5:35 PMkotlin.Double 0 on iOS seems to not be comparable with 0 (it prints as 2.89...E-311) -- weird because I thought 0 was always represented as 0 according to the IEEE FP rules.ephemient
01/22/2023, 6:12 PMephemient
01/22/2023, 6:12 PM6e12 * Double.MIN_VALUErocketraman
01/26/2023, 3:45 PMephemient
01/26/2023, 5:26 PMDouble.MIN_VALUE is about 4.9E-324, which is a lot smaller that your value.rocketraman
01/26/2023, 6:30 PMrocketraman
01/29/2023, 5:40 PMequals in the value container class to do double comparison with an appropriate epsilon solved the problem. Still don't know why this was only an issue on iOS though.