Created
November 9, 2016 20:58
-
-
Save tobie/cf495a00600d904769c30fce05c0069f to your computer and use it in GitHub Desktop.
Revisions
-
tobie created this gist
Nov 9, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ <div algorithm> To compute the <dfn lt="IntegerPart">integer part</dfn> of an ECMAScript number |n|, the following steps must be taken: 1. Let |r| be [=floor=]([=abs=](|n|)) 1. If |n| < 0, then return -1 * |r|. 1. Otherwise return |r|. </div>