FC18: Fixed NCR argument order
This commit is contained in:
parent
4c7355b65d
commit
355ac835be
5 changed files with 15 additions and 15 deletions
|
|
@ -237,7 +237,7 @@ public class FourCornerUnicodeDisplay {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void strobeNCR1632(BigInteger denominator, BigInteger numerator) {
|
||||
public void strobeNCR1632(BigInteger numerator, BigInteger denominator) {
|
||||
List<Integer> math = new ArrayList<>();
|
||||
FourCornerRecipe.toScriptSuperX18(math, numerator);
|
||||
math.add(FCDotCDC1604DashP6.NY02_BAR_V_RIGHT.ordinal());
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public interface FourCornerZion7Candlelier extends FourCornerZion7AlphaOmega {
|
|||
//void strobeWordDozeger(BigInteger value); // up to 192 bit integer
|
||||
|
||||
/// 1152 bit fractions of two 576 bit numbers.
|
||||
void strobeNCR1632(BigInteger denominator, BigInteger numerator);
|
||||
void strobeNCR1632(BigInteger numerator, BigInteger denominator);
|
||||
|
||||
/// Octal sand walker, with an 72 to 576 bit mime-type rhythm header.
|
||||
void strobeSandWalker(List<PrimordialOctal> rhythm);
|
||||
|
|
@ -66,7 +66,7 @@ public interface FourCornerZion7Candlelier extends FourCornerZion7AlphaOmega {
|
|||
}
|
||||
|
||||
@Override
|
||||
default void strobeNCR1632(BigInteger denominator, BigInteger numerator) {
|
||||
default void strobeNCR1632(BigInteger numerator, BigInteger denominator) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ public class FourCornerZionStenoGrapher {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void strobeNCR1632(BigInteger denominator, BigInteger numerator) {
|
||||
public void strobeNCR1632(BigInteger numerator, BigInteger denominator) {
|
||||
if (denominator.equals(BigInteger.ZERO)) {
|
||||
throw new IllegalArgumentException("The denominator value ZERO is not allowed.");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ public class FourCornerZionStenoLexer {
|
|||
for (int i = 0; i < numeratorBank.length; i++) {
|
||||
numerator = numerator.add(BigInteger.valueOf(numeratorBank[i]).shiftLeft(i * 9));
|
||||
}
|
||||
handler.strobeNCR1632(denominator, numerator);
|
||||
handler.strobeNCR1632(numerator, denominator);
|
||||
// reset the bank after each fire
|
||||
for (int i = 0; i < denominatorBank.length; i++) {
|
||||
denominatorBank[i] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue