1 #include <nit_common.h>
2 #include "standard___math._sep.h"
9 struct nitni_ref ref
; /* real ref struct, must be first */
11 typedef struct s_Object
*Object
;
12 #define Object_incr_ref( x ) nitni_global_ref_incr( (struct nitni_ref*)(x) )
13 #define Object_decr_ref( x ) nitni_global_ref_decr( (struct nitni_ref*)(x) )
17 /* out/indirect function for math::Int::rand */
18 val_t
Int_rand___out( val_t recv
);
20 /* out/indirect function for math::Int::bin_and */
21 val_t
Int_bin_and___out( val_t recv
, val_t i
);
23 /* out/indirect function for math::Int::bin_or */
24 val_t
Int_bin_or___out( val_t recv
, val_t i
);
26 /* out/indirect function for math::Int::bin_xor */
27 val_t
Int_bin_xor___out( val_t recv
, val_t i
);
29 /* out/indirect function for math::Float::sqrt */
30 val_t
Float_sqrt___out( val_t recv
);
32 /* out/indirect function for math::Float::cos */
33 val_t
Float_cos___out( val_t recv
);
35 /* out/indirect function for math::Float::sin */
36 val_t
Float_sin___out( val_t recv
);
38 /* out/indirect function for math::Float::tan */
39 val_t
Float_tan___out( val_t recv
);
41 /* out/indirect function for math::Float::acos */
42 val_t
Float_acos___out( val_t recv
);
44 /* out/indirect function for math::Float::asin */
45 val_t
Float_asin___out( val_t recv
);
47 /* out/indirect function for math::Float::atan */
48 val_t
Float_atan___out( val_t recv
);
50 /* out/indirect function for math::Float::pow */
51 val_t
Float_pow___out( val_t recv
, val_t e
);
53 /* out/indirect function for math::Float::log */
54 val_t
Float_log___out( val_t recv
);
56 /* out/indirect function for math::Float::exp */
57 val_t
Float_exp___out( val_t recv
);
59 /* out/indirect function for math::Float::rand */
60 val_t
Float_rand___out( val_t recv
);
62 /* out/indirect function for math::Float::hypot_with */
63 val_t
Float_hypot_with___out( val_t recv
, val_t b
);
65 /* out/indirect function for math::Object::atan2 */
66 val_t
Object_atan2___out( val_t recv
, val_t x
, val_t y
);
68 /* out/indirect function for math::Object::pi */
69 val_t
Object_pi___out( val_t recv
);
71 /* out/indirect function for math::Object::srand_from */
72 void Object_srand_from___out( val_t recv
, val_t x
);
74 /* out/indirect function for math::Object::srand */
75 void Object_srand___out( val_t recv
);