All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.graal.python.builtins.modules.MathModuleBuiltinsClinicProviders Maven / Gradle / Ivy

There is a newer version: 24.1.1
Show newest version
// CheckStyle: start generated
// Auto generated by ArgumentClinicProcessor at 2023-09-13T15:54:29.248692408
package com.oracle.graal.python.builtins.modules;

import com.oracle.graal.python.nodes.function.PythonBuiltinBaseNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.ArgumentCastNode;
import com.oracle.graal.python.nodes.function.builtins.clinic.ArgumentClinicProvider;
import com.oracle.graal.python.nodes.function.builtins.clinic.JavaDoubleConversionNode;

public class MathModuleBuiltinsClinicProviders {
    public static final class CopySignNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final CopySignNodeClinicProviderGen INSTANCE = new CopySignNodeClinicProviderGen();
        
        private CopySignNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class Atan2NodeClinicProviderGen extends ArgumentClinicProvider {
        public static final Atan2NodeClinicProviderGen INSTANCE = new Atan2NodeClinicProviderGen();
        
        private Atan2NodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class NextAfterNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final NextAfterNodeClinicProviderGen INSTANCE = new NextAfterNodeClinicProviderGen();
        
        private NextAfterNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class RemainderNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final RemainderNodeClinicProviderGen INSTANCE = new RemainderNodeClinicProviderGen();
        
        private RemainderNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class PowNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final PowNodeClinicProviderGen INSTANCE = new PowNodeClinicProviderGen();
        
        private PowNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class FmodNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final FmodNodeClinicProviderGen INSTANCE = new FmodNodeClinicProviderGen();
        
        private FmodNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x3, 0x3);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class LdexpNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final LdexpNodeClinicProviderGen INSTANCE = new LdexpNodeClinicProviderGen();
        
        private LdexpNodeClinicProviderGen() {
            super(0x2, 0x2, 0x2, 0x3, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class IsCloseNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final IsCloseNodeClinicProviderGen INSTANCE = new IsCloseNodeClinicProviderGen();
        
        private IsCloseNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0xf, 0xf);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            switch (argIndex) {
                case 0: return JavaDoubleConversionNode.create(false);
                case 1: return JavaDoubleConversionNode.create(false);
                case 2: return JavaDoubleConversionNode.create(1e-09, false);
                case 3: return JavaDoubleConversionNode.create(0.0, false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class FrexpNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final FrexpNodeClinicProviderGen INSTANCE = new FrexpNodeClinicProviderGen();
        
        private FrexpNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x1, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class UlpNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final UlpNodeClinicProviderGen INSTANCE = new UlpNodeClinicProviderGen();
        
        private UlpNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x1, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class ModfNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final ModfNodeClinicProviderGen INSTANCE = new ModfNodeClinicProviderGen();
        
        private ModfNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x1, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
    public static final class FabsNodeClinicProviderGen extends ArgumentClinicProvider {
        public static final FabsNodeClinicProviderGen INSTANCE = new FabsNodeClinicProviderGen();
        
        private FabsNodeClinicProviderGen() {
            super(0x0, 0x0, 0x0, 0x1, 0x1);
        }
        
        @Override
        public ArgumentCastNode createCastNode(int argIndex, PythonBuiltinBaseNode builtin) {
            if (argIndex == 0) {
                return JavaDoubleConversionNode.create(false);
            }
            return super.createCastNode(argIndex, builtin);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy