From 736eb2875b0a1799da6f00191614e0cf2ba7b998 Mon Sep 17 00:00:00 2001 From: Alex Higgins Date: Fri, 28 Aug 2015 08:25:19 -0500 Subject: [PATCH] Fix alignment in jets/a --- jets/a/add.c | 5 +++-- jets/a/div.c | 2 +- jets/a/gte.c | 6 +++--- jets/a/gth.c | 5 +++-- jets/a/lte.c | 6 ++++-- jets/a/lth.c | 2 +- jets/a/mod.c | 5 ++--- jets/a/mul.c | 5 +++-- jets/a/sub.c | 6 ++++-- 9 files changed, 24 insertions(+), 18 deletions(-) diff --git a/jets/a/add.c b/jets/a/add.c index a38e93b8c..3850c0ac5 100644 --- a/jets/a/add.c +++ b/jets/a/add.c @@ -8,7 +8,7 @@ */ u3_noun u3qa_add(u3_atom a, - u3_atom b) + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { c3_w c = a + b; @@ -43,7 +43,8 @@ } u3_noun - u3ka_add(u3_noun a, u3_noun b) + u3ka_add(u3_noun a, + u3_noun b) { u3_noun c = u3qa_add(a, b); diff --git a/jets/a/div.c b/jets/a/div.c index 5a54d9481..fa2853160 100644 --- a/jets/a/div.c +++ b/jets/a/div.c @@ -8,7 +8,7 @@ */ u3_noun u3qa_div(u3_atom a, - u3_atom b) + u3_atom b) { if ( 0 == b ) { return u3m_bail(c3__exit); diff --git a/jets/a/gte.c b/jets/a/gte.c index eb7d742ac..fc503fbf7 100644 --- a/jets/a/gte.c +++ b/jets/a/gte.c @@ -7,7 +7,8 @@ /* functions */ u3_noun - u3qa_gte(u3_atom a, u3_atom b) + u3qa_gte(u3_atom a, + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { return __(a >= b); @@ -28,8 +29,7 @@ } } u3_noun - u3wa_gte( - u3_noun cor) + u3wa_gte(u3_noun cor) { u3_noun a, b; diff --git a/jets/a/gth.c b/jets/a/gth.c index b7bd176bb..dad10f8f4 100644 --- a/jets/a/gth.c +++ b/jets/a/gth.c @@ -8,7 +8,7 @@ */ u3_noun u3qa_gth(u3_atom a, - u3_atom b) + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { return __(a > b); @@ -44,7 +44,8 @@ } u3_noun - u3ka_gth(u3_noun a, u3_noun b) + u3ka_gth(u3_noun a, + u3_noun b) { u3_noun c = u3qa_gth(a, b); diff --git a/jets/a/lte.c b/jets/a/lte.c index 3a1d57969..bf1fffe7b 100644 --- a/jets/a/lte.c +++ b/jets/a/lte.c @@ -7,7 +7,8 @@ /* functions */ u3_noun - u3qa_lte(u3_atom a, u3_atom b) + u3qa_lte(u3_atom a, + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { return __(a <= b); @@ -42,7 +43,8 @@ } } u3_noun - u3ka_lte(u3_noun a, u3_noun b) + u3ka_lte(u3_noun a, + u3_noun b) { u3_noun c = u3qa_lte(a, b); diff --git a/jets/a/lth.c b/jets/a/lth.c index dc83ee693..5682aa803 100644 --- a/jets/a/lth.c +++ b/jets/a/lth.c @@ -8,7 +8,7 @@ */ u3_noun u3qa_lth(u3_atom a, - u3_atom b) + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { return __(a < b); diff --git a/jets/a/mod.c b/jets/a/mod.c index 2e1ecb9e9..f80834e1b 100644 --- a/jets/a/mod.c +++ b/jets/a/mod.c @@ -7,9 +7,8 @@ /* functions */ u3_noun - u3qa_mod( - u3_atom a, - u3_atom b) + u3qa_mod(u3_atom a, + u3_atom b) { #if 0 if ( b == 3 && a == 2684227708 ) { diff --git a/jets/a/mul.c b/jets/a/mul.c index 7bd1ca0ac..d48eea8d6 100644 --- a/jets/a/mul.c +++ b/jets/a/mul.c @@ -8,7 +8,7 @@ */ u3_noun u3qa_mul(u3_atom a, - u3_atom b) + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { c3_d c = ((c3_d) a) * ((c3_d) b); @@ -42,7 +42,8 @@ } } u3_noun - u3ka_mul(u3_noun a, u3_noun b) + u3ka_mul(u3_noun a, + u3_noun b) { u3_noun c = u3qa_mul(a, b); diff --git a/jets/a/sub.c b/jets/a/sub.c index 83ac7ff42..90b26339c 100644 --- a/jets/a/sub.c +++ b/jets/a/sub.c @@ -7,7 +7,8 @@ /* functions */ u3_noun - u3qa_sub(u3_atom a, u3_atom b) + u3qa_sub(u3_atom a, + u3_atom b) { if ( _(u3a_is_cat(a)) && _(u3a_is_cat(b)) ) { if ( a < b ) { @@ -50,7 +51,8 @@ } u3_noun - u3ka_sub(u3_noun a, u3_noun b) + u3ka_sub(u3_noun a, + u3_noun b) { u3_noun c = u3qa_sub(a, b);