Commit ffa1eaba authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Fixed documentation bugs

parent de2db106
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -78,8 +78,6 @@ class IntegerP {
     * @return The division of this object and {@code divisor}.  If this object is not
     *         evenly divisible by {@code divisor}, the result is not specified.
     * @example IntegerP::valueOf(14) / IntegerP::valueOf(2) = IntegerP::valueOf(7)
     * @example IntegerP::valueOf(14) / IntegerP::valueOf(3) throws indivisible_exception
     *          14 / 3 is not an integer.
     */
    IntegerP operator/(const IntegerP &divisor) const;

@@ -95,7 +93,7 @@ class IntegerP {
     *         LONG_MAX if the object represents a number that is too big
     *         to fit in a {@code long}.
     * @example IntegerP::valueOf(14).trunc() returns 14
     * @example IntegerP::valueOf({2,1,0,1}).trunc() returns 82
     * @example IntegerP::valueOf({2,1,0,1}).trunc() returns 84
     * @example IntegerP::valueOf({20,3,5,10}).trunc() retunrs LONG_MAX (=9223372036854775807)
     */
    long trunc() const;