example-sdl: use libm