Package gnu.math

Examples of gnu.math.IntNum.canonicalize()


                    IntNum q = new IntNum();
                    IntNum r = new IntNum();
                    IntNum.divide(Number.intValue(on),Number.intValue(arg), q, r, IntNum.TRUNCATE);

                    return context.runtime.newTuple(context.runtime.newNumber(q.canonicalize()), context.runtime.newNumber(r.canonicalize()));
                }
            }));

        rational.registerMethod(runtime.newNativeMethod("returns this number to the power of the argument", new TypeCheckingNativeMethod("**") {
                private final TypeCheckingArgumentsDefinition ARGUMENTS = TypeCheckingArgumentsDefinition
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.