User talk:PureFox: Difference between revisions

Line 180:
== Possible reason for weather routing discrepancy ==
The discrepancy in [[Weather_Routing#Wren]] might be mutateTimeSlices iterating i from 0..len-1 vs 1..len, worth trying? --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 10:54, 17 May 2020 (UTC)
 
:Thanks Pete. I thought I'd picked up all the 1-based to 0-based stuff but I definitely missed that one! There's still a very slight discrepancy - Julia ends up with 283.69787966870734 compared to Wren's 283.67745997075 minutes though this might be due to the former using float32 accuracy throughout whereas Wren (of necessity, there's no choice) uses float64.
 
:Anyway, I've started work now on a Go translation (I think I'll stick with float64 as casting everything to float32 is a pig) and I imagine this means that a Phix translation is now imminent?
 
:Incidentally, I've just noticed that the Cartesian/Polar conversions are never called and neither is the closestPoint function so no need to bother translating those. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 13:16, 17 May 2020 (UTC)
9,476

edits