Broken Output when using #def SAMPLE_TYPE_FLOAT

Getting an odd issue where a very simple sin oscillator runs fine when using the default double mode but when adding the #define SAMPLE_TYPE_FLOAT as discussed elsewhere on this forum it instead outputs what sounds like a very quiet inharmonic squarish tone.

Any ideas?

Doesn’t seem to matter what data type is written to the outputs[c][s] in a for loop. Not an issue with the oscillator, just changing the define breaks the output.