Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- strictfp class StrictFPClass {
- double num1 = 10e+102;
- double num2 = 6e+08;
- double calculate() {
- return num1 + num2;
- }
- }
- strictfp interface StrictFPInterface {
- double calculate();
- strictfp double compute(); // compile error
- }
- class StrictFPMethod {
- strictfp double computeTotal(double x, double y) {
- return x + y;
- }
- }
Add Comment
Please, Sign In to add comment