Changed doctests for functions that now require an Fractional context and so default to Double.