Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {

        double d1 = 0.0, d2 = -(1.0 / 0.0), d3 = (1.0 / 0.0);

        System.out.println(StrictMath.expm1(d1));

        System.out.println(StrictMath.expm1(d2));

        System.out.println(StrictMath.expm1(d3));
    }
}