[seed] Added emin_min, emin_max, emax_min, emax_max
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Added emin_min, emin_max, emax_min, emax_max
- Date: Wed, 8 Jul 2009 19:30:46 +0000 (UTC)
commit 7668be5a9559e9f281527e1edfdf261ff4c938dc
Author: Matt ARSENAULT <arsenm2 rpi edu>
Date: Wed Jul 8 13:22:23 2009 -0400
Added emin_min, emin_max, emax_min, emax_max
modules/mpfr/seed-mpfr.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/modules/mpfr/seed-mpfr.c b/modules/mpfr/seed-mpfr.c
index 004868e..b9fabe2 100644
--- a/modules/mpfr/seed-mpfr.c
+++ b/modules/mpfr/seed-mpfr.c
@@ -747,11 +747,55 @@ SeedValue seed_mpfr_get_emin (SeedContext ctx,
return seed_value_from_mp_exp_t(ctx, exp, exception);
}
+SeedValue seed_mpfr_get_emin_min (SeedContext ctx,
+ SeedObject this_object,
+ SeedString property_name,
+ SeedException* exception)
+{
+ mp_exp_t exp;
+ exp = mpfr_get_emin_min();
+ return seed_value_from_mp_exp_t(ctx, exp, exception);
+}
+
+SeedValue seed_mpfr_get_emin_max (SeedContext ctx,
+ SeedObject this_object,
+ SeedString property_name,
+ SeedException* exception)
+{
+ mp_exp_t exp;
+ exp = mpfr_get_emin_max();
+ return seed_value_from_mp_exp_t(ctx, exp, exception);
+}
+
+SeedValue seed_mpfr_get_emax_min (SeedContext ctx,
+ SeedObject this_object,
+ SeedString property_name,
+ SeedException* exception)
+{
+ mp_exp_t exp;
+ exp = mpfr_get_emax_min();
+ return seed_value_from_mp_exp_t(ctx, exp, exception);
+}
+
+SeedValue seed_mpfr_get_emax_max (SeedContext ctx,
+ SeedObject this_object,
+ SeedString property_name,
+ SeedException* exception)
+{
+ mp_exp_t exp;
+ exp = mpfr_get_emax_max();
+ return seed_value_from_mp_exp_t(ctx, exp, exception);
+}
+
seed_static_value mpfr_ns_values[] =
{
{"default_rounding_mode", seed_mpfr_get_default_rounding_mode, seed_mpfr_set_default_rounding_mode, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
{"emax", seed_mpfr_get_emax, seed_mpfr_set_emax, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
{"emin", seed_mpfr_get_emin, seed_mpfr_set_emin, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
+ {"emin_min", seed_mpfr_get_emin_min, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
+ {"emin_max", seed_mpfr_get_emin_max, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
+ {"emax_min", seed_mpfr_get_emax_min, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
+ {"emax_max", seed_mpfr_get_emax_max, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
{"version", seed_mpfr_get_version, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
{"patches", seed_mpfr_get_patches, NULL, SEED_PROPERTY_ATTRIBUTE_DONT_DELETE},
{NULL, 0, NULL, 0}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]