1.1 --- a/templates/native/float.h Thu Nov 04 23:44:29 2021 +0100
1.2 +++ b/templates/native/float.h Tue Aug 29 01:46:23 2023 +0200
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for floating point operations.
1.5
1.6 -Copyright (C) 2018 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2018, 2023 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -23,23 +23,23 @@
1.12
1.13 /* Floating point operations. */
1.14
1.15 -__attr __fn_native_float_float_add(__attr __self, __attr self, __attr other);
1.16 -__attr __fn_native_float_float_sub(__attr __self, __attr self, __attr other);
1.17 -__attr __fn_native_float_float_mul(__attr __self, __attr self, __attr other);
1.18 -__attr __fn_native_float_float_div(__attr __self, __attr self, __attr other);
1.19 -__attr __fn_native_float_float_mod(__attr __self, __attr self, __attr other);
1.20 -__attr __fn_native_float_float_neg(__attr __self, __attr self);
1.21 -__attr __fn_native_float_float_pow(__attr __self, __attr self, __attr other);
1.22 +__attr __fn_native_float_float_add(__attr __result, __attr __self, __attr self, __attr other);
1.23 +__attr __fn_native_float_float_sub(__attr __result, __attr __self, __attr self, __attr other);
1.24 +__attr __fn_native_float_float_mul(__attr __result, __attr __self, __attr self, __attr other);
1.25 +__attr __fn_native_float_float_div(__attr __result, __attr __self, __attr self, __attr other);
1.26 +__attr __fn_native_float_float_mod(__attr __result, __attr __self, __attr self, __attr other);
1.27 +__attr __fn_native_float_float_neg(__attr __result, __attr __self, __attr self);
1.28 +__attr __fn_native_float_float_pow(__attr __result, __attr __self, __attr self, __attr other);
1.29
1.30 -__attr __fn_native_float_float_le(__attr __self, __attr self, __attr other);
1.31 -__attr __fn_native_float_float_lt(__attr __self, __attr self, __attr other);
1.32 -__attr __fn_native_float_float_ge(__attr __self, __attr self, __attr other);
1.33 -__attr __fn_native_float_float_gt(__attr __self, __attr self, __attr other);
1.34 -__attr __fn_native_float_float_eq(__attr __self, __attr self, __attr other);
1.35 -__attr __fn_native_float_float_ne(__attr __self, __attr self, __attr other);
1.36 +__attr __fn_native_float_float_le(__attr __result, __attr __self, __attr self, __attr other);
1.37 +__attr __fn_native_float_float_lt(__attr __result, __attr __self, __attr self, __attr other);
1.38 +__attr __fn_native_float_float_ge(__attr __result, __attr __self, __attr self, __attr other);
1.39 +__attr __fn_native_float_float_gt(__attr __result, __attr __self, __attr self, __attr other);
1.40 +__attr __fn_native_float_float_eq(__attr __result, __attr __self, __attr self, __attr other);
1.41 +__attr __fn_native_float_float_ne(__attr __result, __attr __self, __attr self, __attr other);
1.42
1.43 -__attr __fn_native_float_float_str(__attr __self, __attr self);
1.44 -__attr __fn_native_float_float_int(__attr __self, __attr self);
1.45 +__attr __fn_native_float_float_str(__attr __result, __attr __self, __attr self);
1.46 +__attr __fn_native_float_float_int(__attr __result, __attr __self, __attr self);
1.47
1.48 /* Module initialisation. */
1.49