Oxidizer wrong translation

Hello

Tittle says “wrong” while is really correct, but strange float conversion :smile:

Original objective-c code:

transition.duration = 0.4f;

Translated to:

transition.duration = 0.400000005960464;

All values with f (float) are translated like this

next example:

[animation setDuration: 2.3f];

to:

animation.setDuration(2.29999995231628);

[EDIT]

Will not create new post, just will add info here. Another issue this time wrong translation:

- (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated {

}

is translated to:

// 
// 
private void navigationController(UINavigationController navigationController, UIViewController viewController, bool animated)
{
}

should be:

private void navigationController(UINavigationController navigationController) didShowViewController(UIViewController viewController) animated(bool animated)
{
}

b.r.

Thanks, logged as bugs://72769

Thanks, logged as bugs://72770

bugs://72769 got closed with status fixed.

1 Like

bugs://72770 got closed with status fixed.