sschwarzer
2021-9-18 20:25:06
Is there a more compact/readable way to write 1e9 as an integer, i. e. apart from writing 1000000000
or (inexact->exact 1e9)
?
sschwarzer
2021-9-18 20:36:08
I guess/hope that if I use (inexact->exact 1e9)
, it’s compiled directly as the integer value, i. e. the actual conversion is optimized out?
ryanc
2021-9-18 20:36:13
#e1e9
. The #e
prefix makes it exact.
sschwarzer
2021-9-18 20:36:57
@ryanc #e xcellent :wink:
shu--hung
2021-9-18 23:22:23
Only two more digits to make it a color.
jestarray
2021-9-19 06:34:56
what is the limit of 2htdp/image
and 2htdp/universe
in terms of making games? i dont plan to make anything too huge but i do want to teach spritesheet animation for some pixel art