graphicsfuzz
graphicsfuzz copied to clipboard
Expression generator: represent a float value as a sum of an int and a float
We can represent e.g. 4.32 as float(generateExpr(INT, 4)) + generateExpr(FLOAT, 0.32)
We should be able to do this for many floating-point numbers. We won't be able to for numbers where the part before the decimal point is extremely large, but we can check for that before doing the transformation.
Having this will be good as it will lead to some interplay between float and int types.
sir i would like to work on this can you guide me how should i start??