Commit 67db9cba authored by Florian Goth's avatar Florian Goth
Browse files

other indentation\?

parent 9fe0670b
Pipeline #15339 passed with stages
in 15 minutes and 22 seconds
......@@ -2,7 +2,8 @@ import math
from numpy import array as nparray
def ddkahan(x, y):
'''Transform the addition of two floating point numbers:
"""
Transform the addition of two floating point numbers:
.. math::
x + y = r + e
......@@ -16,7 +17,7 @@ def ddkahan(x, y):
Returns:
r (float): x + y
e (float): the overflow
'''
"""
r = x + y
e = y - (r - x)
return r, e
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment