Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Numbers in scientific notation not recognized as floats in 3.0 #4190
From what i could see, some of the conversion functions have been remove like boolean(), byte(), char(), float(), int(). This is the reason for
to not work. But they are still given as a part of the reference in 3.0 (like for float() here).
@Akarshit are you sure they have been removed? They work all right in my 3.0.
I'm wondering, though, since I see no mention of the scientific notation in the documentation, even if the behavior changed without notice, if this issue can be closed? Nothing was ever promised regarding scientific notation, right? Only some of my http://funprogramming.org/p5tweets/ broke, which is to be expected anyway :)
float f1 = 22.e3; // works float f2 = 22.e3d; // cannot convert from double to float
PDE's pre-processor visits each numerical literal in the ".pde" source and suffix w/ an