Menu

#20 truncate: Use C99 trunc

tinyscheme-1.43
closed-fixed
nobody
None
5
2020-09-27
2020-06-15
No

Use trunc() from C99. This should be safe to rely on now that it's >20 years old.

1 Attachments

Discussion

  • Kevin Cozens

    Kevin Cozens - 2020-09-27
    • status: open --> closed-fixed
    • Group: --> tinyscheme-1.43
     
  • Kevin Cozens

    Kevin Cozens - 2020-09-27

    Good point, Jesse. Thanks for the patch.

    r128 | kcozens | 2020-09-27 16:26:54 -0400 (Sun, 27 Sep 2020) | 2 lines

    Use trunc() from C99. From patch #20 by Jesse Rosenstock.

     

Log in to post a comment.