[ create a new paste ] login | about

Link: http://codepad.org/bzNr6Cxe    [ raw code | output | fork ]

wiso - C++, pasted on Jul 10:
1
2
3
4
5
6
7
#include <iostream>

int main()
{
   std::cout << abs(1.123) << std::endl;
   std::cout << fabs(1.123) << std::endl;
}


Output:
1
2
1.123
1.123


Create a new paste based on this one


Comments: