20 #ifndef freetds_utils_smp_h_
21 #define freetds_utils_smp_h_
23 #include <tds_sysdep_public.h>
24 #include <freetds/bool.h>
30 extern const smp smp_zero;
31 extern const smp smp_one;
46 smp smp_from_int(int64_t n);
49 bool smp_is_negative(
smp a);
52 bool smp_is_zero(
smp a);
58 double smp_to_double(
smp a);
61 char *smp_to_string(
smp a);
64 smp smp_from_string(
const char *s);