Skip to main content
1 of 2
Eelvex
  • 5.5k
  • 1
  • 28
  • 43

LISP (27)

(Same trick as in PARI/GP answer)

(defun f(x)(- x (mod x 1)))
Eelvex
  • 5.5k
  • 1
  • 28
  • 43