I have a floating point issue I don’t understand. I have a stripped-down reproducer here:
http://a.9srv.net/tmp/fptest.c Tested on 8c on 9legacy and 6c on geoff’s 9k, “step” prints different things for the intermediate value and the set variable, both of which are nonsense. Am I doing something wrong with that cast? It looks right to me (and performs as expected in unix). (Use caution: moving the (float) to inside the parens to only apply to end crashes at least one 9legacy kernel.) ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5e40b126925dfe86-Mcfb368c79934f59402476810 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
