X-Git-Url: http://nitlanguage.org diff --git a/c_src/core__math.sep.1.c b/c_src/core__math.sep.1.c index 1124fd7..2566013 100644 --- a/c_src/core__math.sep.1.c +++ b/c_src/core__math.sep.1.c @@ -1,5 +1,5 @@ #include "core__math.sep.0.h" -/* method math#Int#& for (self: Int, Int): Int */ +/* method math$Int$& for (self: Int, Int): Int */ long core__math___Int____38d(long self, long p0) { long var /* : Int */; long var1 /* : Int */; @@ -9,17 +9,7 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Int#band for (self: Int, Int): Int */ -long core__math___Int___band(long self, long p0) { -long var /* : Int */; -long var1 /* : Int */; -var1 = math___Int_band___impl(self, p0); -var = var1; -goto RET_LABEL; -RET_LABEL:; -return var; -} -/* method math#Int#| for (self: Int, Int): Int */ +/* method math$Int$| for (self: Int, Int): Int */ long core__math___Int____124d(long self, long p0) { long var /* : Int */; long var1 /* : Int */; @@ -29,17 +19,7 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Int#bor for (self: Int, Int): Int */ -long core__math___Int___bor(long self, long p0) { -long var /* : Int */; -long var1 /* : Int */; -var1 = math___Int_bor___impl(self, p0); -var = var1; -goto RET_LABEL; -RET_LABEL:; -return var; -} -/* method math#Byte#& for (self: Byte, Byte): Byte */ +/* method math$Byte$& for (self: Byte, Byte): Byte */ unsigned char core__math___Byte____38d(unsigned char self, unsigned char p0) { unsigned char var /* : Byte */; unsigned char var1 /* : Byte */; @@ -49,27 +29,17 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Byte#band for (self: Byte, Byte): Byte */ -unsigned char core__math___Byte___band(unsigned char self, unsigned char p0) { -unsigned char var /* : Byte */; -unsigned char var1 /* : Byte */; -var1 = math___Byte_band___impl(self, p0); -var = var1; -goto RET_LABEL; -RET_LABEL:; -return var; -} -/* method math#Float#is_nan for (self: Float): Bool */ +/* method math$Float$is_nan for (self: Float): Bool */ short int core__math___Float___is_nan(double self) { short int var /* : Bool */; short int var1 /* : Bool */; -var1 = math___Float_is_nan___impl(self); +var1 = core__math___Float_is_nan___impl(self); var = var1; goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Float#is_inf for (self: Float): Int */ +/* method math$Float$is_inf for (self: Float): Int */ long core__math___Float___is_inf(double self) { long var /* : Int */; short int var1 /* : Bool */; @@ -83,8 +53,8 @@ short int var7 /* : Bool */; long var8 /* : Int */; long var10 /* : Int */; { -{ /* Inline math#Float#native_is_inf (self) on */ -var3 = math___Float_native_is_inf___impl(self); +{ /* Inline math$Float$native_is_inf (self) on */ +var3 = core__math___Float_native_is_inf___impl(self); var1 = var3; goto RET_LABEL2; RET_LABEL2:(void)0; @@ -92,7 +62,7 @@ RET_LABEL2:(void)0; } if (var1){ { -{ /* Inline kernel#Float#< (self,0.0) on */ +{ /* Inline kernel$Float$< (self,0.0) on */ /* Covariant cast for argument 0 (i) <0.0:Float> isa OTHER */ /* <0.0:Float> isa OTHER */ var6 = 1; /* easy <0.0:Float> isa OTHER*/ @@ -110,7 +80,7 @@ RET_LABEL5:(void)0; } if (var4){ { -{ /* Inline kernel#Int#unary - (1l) on <1l:Int> */ +{ /* Inline kernel$Int$unary - (1l) on <1l:Int> */ var10 = -1l; var8 = var10; goto RET_LABEL9; @@ -130,45 +100,45 @@ goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Float#native_is_inf for (self: Float): Bool */ +/* method math$Float$native_is_inf for (self: Float): Bool */ short int core__math___Float___native_is_inf(double self) { short int var /* : Bool */; short int var1 /* : Bool */; -var1 = math___Float_native_is_inf___impl(self); +var1 = core__math___Float_native_is_inf___impl(self); var = var1; goto RET_LABEL; RET_LABEL:; return var; } -/* method math#Sys#init for (self: Sys) */ +/* method math$Sys$init for (self: Sys) */ void core__math___Sys___core__kernel__Object__init(val* self) { { ((void(*)(val* self))(self->class->vft[COLOR_core__math___Sys___core__kernel__Object__init]))(self); /* init on */ } { -{ /* Inline math#Sys#srand (self) on */ +{ /* Inline math$Sys$srand (self) on */ struct nitni_instance* var_for_c_0; var_for_c_0 = nit_alloc(sizeof(struct nitni_instance)); var_for_c_0->value = self; -math___Sys_srand___impl(var_for_c_0); +core__math___Sys_srand___impl(var_for_c_0); RET_LABEL1:(void)0; } } RET_LABEL:; } -/* method math#Sys#srand_from for (self: Sys, Int) */ +/* method math$Sys$srand_from for (self: Sys, Int) */ void core__math___Sys___srand_from(val* self, long p0) { struct nitni_instance* var_for_c_0; var_for_c_0 = nit_alloc(sizeof(struct nitni_instance)); var_for_c_0->value = self; -math___Sys_srand_from___impl(var_for_c_0, p0); +core__math___Sys_srand_from___impl(var_for_c_0, p0); RET_LABEL:; } -/* method math#Sys#srand for (self: Sys) */ +/* method math$Sys$srand for (self: Sys) */ void core__math___Sys___srand(val* self) { struct nitni_instance* var_for_c_0; var_for_c_0 = nit_alloc(sizeof(struct nitni_instance)); var_for_c_0->value = self; -math___Sys_srand___impl(var_for_c_0); +core__math___Sys_srand___impl(var_for_c_0); RET_LABEL:; }