Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a77c3fed567a
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: abcb62c6c818
Choose a head ref
  • 19 commits
  • 20 files changed
  • 1 contributor

Commits on May 4, 2016

  1. Copy the full SHA
    01aded5 View commit details
  2. Copy the full SHA
    6527cdc View commit details
  3. Copy the full SHA
    91c104f View commit details
  4. Copy the full SHA
    83b3602 View commit details

Commits on May 5, 2016

  1. Copy the full SHA
    319328e View commit details
  2. Copy the full SHA
    182da72 View commit details
  3. [Truffle] Formatting.

    chrisseaton committed May 5, 2016
    Copy the full SHA
    3369b12 View commit details
  4. Copy the full SHA
    f57a087 View commit details
  5. Copy the full SHA
    40e5fee View commit details
  6. Copy the full SHA
    d56594a View commit details
  7. Copy the full SHA
    b793e99 View commit details
  8. Copy the full SHA
    a490602 View commit details
  9. Copy the full SHA
    7f44e78 View commit details
  10. Copy the full SHA
    58617a1 View commit details
  11. Copy the full SHA
    697ad3d View commit details
  12. Copy the full SHA
    c87a7e5 View commit details
  13. Copy the full SHA
    40251e6 View commit details
  14. Copy the full SHA
    77b9f89 View commit details
  15. Copy the full SHA
    abcb62c View commit details
Showing with 2,603 additions and 2,152 deletions.
  1. +1 −1 truffle/src/main/java/org/jruby/truffle/core/CoreLibrary.java
  2. +2 −2 truffle/src/main/java/org/jruby/truffle/core/Layouts.java
  3. +16 −0 truffle/src/main/java/org/jruby/truffle/core/exception/CoreExceptions.java
  4. +4 −0 truffle/src/main/java/org/jruby/truffle/core/numeric/FixnumOrBignumNode.java
  5. +0 −2,145 truffle/src/main/java/org/jruby/truffle/stdlib/BigDecimalNodes.java
  6. +56 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractAddNode.java
  7. +149 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractDivNode.java
  8. +108 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractMultNode.java
  9. +56 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/AbstractSubNode.java
  10. +136 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCastNode.java
  11. +66 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoerceNode.java
  12. +26 −0 ...fle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoreMethodArrayArgumentsNode.java
  13. +167 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalCoreMethodNode.java
  14. +4 −4 truffle/src/main/java/org/jruby/truffle/stdlib/{ → bigdecimal}/BigDecimalLayout.java
  15. +1,396 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalNodes.java
  16. +28 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalOpNode.java
  17. +30 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/BigDecimalType.java
  18. +285 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/CreateBigDecimalNode.java
  19. +49 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/GetIntegerConstantNode.java
  20. +24 −0 truffle/src/main/java/org/jruby/truffle/stdlib/bigdecimal/RoundModeNode.java
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@
import org.jruby.truffle.language.parser.ParserContext;
import org.jruby.truffle.platform.RubiniusTypes;
import org.jruby.truffle.platform.signal.SignalManager;
import org.jruby.truffle.stdlib.BigDecimalNodesFactory;
import org.jruby.truffle.stdlib.bigdecimal.BigDecimalNodesFactory;
import org.jruby.truffle.stdlib.CoverageNodesFactory;
import org.jruby.truffle.stdlib.EtcNodesFactory;
import org.jruby.truffle.stdlib.ObjSpaceNodesFactory;
4 changes: 2 additions & 2 deletions truffle/src/main/java/org/jruby/truffle/core/Layouts.java
Original file line number Diff line number Diff line change
@@ -82,8 +82,8 @@
import org.jruby.truffle.core.time.TimeLayoutImpl;
import org.jruby.truffle.core.tracepoint.TracePointLayout;
import org.jruby.truffle.core.tracepoint.TracePointLayoutImpl;
import org.jruby.truffle.stdlib.BigDecimalLayout;
import org.jruby.truffle.stdlib.BigDecimalLayoutImpl;
import org.jruby.truffle.stdlib.bigdecimal.BigDecimalLayout;
import org.jruby.truffle.stdlib.bigdecimal.BigDecimalLayoutImpl;
import org.jruby.truffle.stdlib.digest.DigestLayout;
import org.jruby.truffle.stdlib.digest.DigestLayoutImpl;
import org.jruby.truffle.stdlib.psych.EmitterLayout;
Original file line number Diff line number Diff line change
@@ -520,6 +520,22 @@ public DynamicObject floatDomainError(String value, Node currentNode) {
context.getCallStack().getBacktrace(currentNode));
}

public DynamicObject floatDomainErrorResultsToNaN(Node currentNode) {
return floatDomainError("Computation results to 'NaN'(Not a Number)", currentNode);
}

public DynamicObject floatDomainErrorResultsToInfinity(Node currentNode) {
return floatDomainError("Computation results to 'Infinity'", currentNode);
}

public DynamicObject floatDomainErrorResultsToNegInfinity(Node currentNode) {
return floatDomainError("Computation results to '-Infinity'", currentNode);
}

public DynamicObject floatDomainErrorSqrtNegative(Node currentNode) {
return floatDomainError("(VpSqrt) SQRT(negative value)", currentNode);
}

// IOError

@TruffleBoundary
Original file line number Diff line number Diff line change
@@ -28,6 +28,10 @@ public static FixnumOrBignumNode create(RubyContext context, SourceSection sourc
return new FixnumOrBignumNode(context, sourceSection);
}

public FixnumOrBignumNode() {
this(null, null);
}

public FixnumOrBignumNode(RubyContext context, SourceSection sourceSection) {
super(context, sourceSection);
}
Loading