Move double
method to func in math
#1050
+51
−1
Merged