graphicsfuzz icon indicating copy to clipboard operation
graphicsfuzz copied to clipboard

Expression generator: represent a float value as a sum of an int and a float

Open afd opened this issue 6 years ago • 1 comments

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.

afd avatar Aug 10 '19 00:08 afd

sir i would like to work on this can you guide me how should i start??

KishkinJ10 avatar Mar 25 '21 13:03 KishkinJ10