Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/intrinsics/ExactMath.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | a4b84ba6dc2e |
children |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.truffle.api.intrinsics; | 23 package com.oracle.truffle.api.intrinsics; |
24 | 24 |
25 /** | 25 /** |
26 * This class contains methods that will be part of java.lang.Math starting with JDK 8. Until JDK 8 is release, we | 26 * This class contains methods that will be part of java.lang.Math starting with JDK 8. Until JDK 8 |
27 * duplicate them here because they are generally useful for dynamic language implementations. | 27 * is release, we duplicate them here because they are generally useful for dynamic language |
28 * implementations. | |
28 */ | 29 */ |
29 public class ExactMath { | 30 public class ExactMath { |
30 | 31 |
31 public static int addExact(int x, int y) { | 32 public static int addExact(int x, int y) { |
32 int r = x + y; | 33 int r = x + y; |