From b7835be8db1d6d2ef60bbe9e972cb708c0fee8c0 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Sun, 18 Jan 2026 13:28:25 +0100 Subject: =?UTF-8?q?Allow=20p=3D=E2=88=9E=20in=20program=20and=20adjust=20a?= =?UTF-8?q?nd=20generalize=20printing=20accordingly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charf.c | 32 +++++++++++++++++++++----------- double-error.c | 40 +++++++++++++++++++++++++++++++--------- double-error.h | 12 +++++++++--- double.c | 36 ++++++++++++++++++++++++++---------- double.h | 8 +++++++- ratio.c | 53 ++++++++++++++++++++++++++++++++++++++++------------- ratio.h | 8 +++++++- 7 files changed, 141 insertions(+), 48 deletions(-) diff --git a/charf.c b/charf.c index c33a88d..520e8cb 100644 --- a/charf.c +++ b/charf.c @@ -68,8 +68,8 @@ void differentiate(VALUETYPE* f, VALUETYPE* df, int D, int k){ VALUETYPE integratep(VALUETYPE* f, EXPTYPE p, int D){ VALUETYPE integralp = int_to_valuetype(0); for(int i=0; i