I noticed that calls to math functions like log/pow are implemented discretely even in emudebug mode. Is there a reason why they are not simply using the <math.h> calls?
I am asking because I have a small testbed for porting algorithms to CUDA and for a quick correctness test I compare the output in emudebug. On some occasions this doesn’t work because of numeric precision differences in the implementations of pow for example.
I see the need for discrete implementations in emurelease and of course in the G80 modes, but it would be great if emudebug could be switched (#define perhaps?) to just use the <math.h> calls.