   end
 
   @doc """
-  Returns an integer by truncating the given number.
-
-  Allowed in guard tests. Inlined by the compiler.
-
-  ## Examples
-
-      iex> trunc(5.5)
+  Returns the integer part of `number`.
+
+  Allowed in guard tests. Inlined by the compiler.
+
+  ## Examples
+
+      iex> trunc(5.4)
+      5
+      iex> trunc(5.99)
       5
 
   """


      iex> min(1, 2)
      1

  """
  @spec min(term, term) :: term


      iex> binary_part("foo", 1, 2)
      "oo"
      iex> binary_part("foo", 1, 5)
      ** (ArgumentError) argument error

  A negative `length` can be used to extract bytes that come *before* the byte
  at `start`:

      iex> binary_part("Hello", 5, -3)
      "llo"

  """
  @spec binary_part(binary, pos_integer, integer) :: binary
