Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zouf/dynfixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeard committed Feb 14, 2014
2 parents 55c7ced + f9685c7 commit b0f117c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mult.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
def multiply(a,b):
return a*b
return float(a)*float(b)

def divide(a,b):
if b:
return a/b
return float(a)/float(b)
return None

def add(a,b):
return a+b
return float(a)+float(b)

def sub(a,b):
return a-b
return float(a)-float(b)

0 comments on commit b0f117c

Please sign in to comment.