[functional-tests] Add math-utils library

This commit is contained in:
Joe Thornber 2017-12-12 15:23:51 +00:00
parent 79c0159108
commit 4bb99bf105
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(library
(math-utils)
(export div-up)
(import (chezscheme))
(define (div-up n d)
(/ (+ n (- d 1)) d))
)