As a simple and boring task, you are asked to do modulo on floating numbers.
Given a, b, please calculate .
Notice that the modulo supported by some programming languages like C++, Java or Python might be not enough. You may have to implement a special version for this task.
Two space-separated floating numbers a, b (0 < a, b ≤ 109). Exactly 9 digits are kept after the decimal point.
Print the answer with absolute or relative error not greater than 10 - 15.
3.000000000 2.000000000
1.000000000
0.400000000 0.200000000
0
Name |
---|