[goffice] GOQuad: add a zero.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] GOQuad: add a zero.
- Date: Thu, 2 May 2013 18:47:15 +0000 (UTC)
commit 1c3e5728f9423a8a3a626c3bece9cd10fbbe4cc3
Author: Morten Welinder <terra gnome org>
Date: Thu May 2 14:46:59 2013 -0400
GOQuad: add a zero.
goffice/math/go-quad.c | 2 ++
goffice/math/go-quad.h | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/goffice/math/go-quad.c b/goffice/math/go-quad.c
index b25afbc..a853e3b 100644
--- a/goffice/math/go-quad.c
+++ b/goffice/math/go-quad.c
@@ -171,6 +171,8 @@ SUFFIX(go_quad_end) (void *state)
g_free (state);
}
+const QUAD SUFFIX(go_quad_zero);
+
/**
* go_quad_init: (skip)
**/
diff --git a/goffice/math/go-quad.h b/goffice/math/go-quad.h
index b3be8a4..a49979f 100644
--- a/goffice/math/go-quad.h
+++ b/goffice/math/go-quad.h
@@ -27,6 +27,8 @@ void go_quad_mul12 (GOQuad *res, double x, double y);
void go_quad_dot_product (GOQuad *res, const GOQuad *a, const GOQuad *b, int n);
+GO_VAR_DECL const GOQuad go_quad_zero;
+
#ifdef GOFFICE_WITH_LONG_DOUBLE
struct GOQuadl_ {
long double h;
@@ -50,6 +52,8 @@ void go_quad_mul12l (GOQuadl *res, long double x, long double y);
void go_quad_dot_productl (GOQuadl *res,
const GOQuadl *a, const GOQuadl *b, int n);
+
+GO_VAR_DECL const GOQuadl go_quad_zerol;
#endif
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]