aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorGannon McGibbon <gannon.mcgibbon@gmail.com>2021-01-06 12:20:03 -0500
committerAaron Patterson <aaron.patterson@gmail.com>2021-01-19 12:06:45 -0800
commit9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e (patch)
tree4c0a885269e1b6332027527fbbb9689ba045c256 /st.c
parenta8dc5156e183489c5121fb1759bda5d9406d9175 (diff)
downloadruby-9e0075a3d902aa5236bbfdc0ad0d3028a55dc17e.tar.gz
Replace "iff" with "if and only if"
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice.
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index dd7870562e..5b178f6b69 100644
--- a/st.c
+++ b/st.c
@@ -768,7 +768,7 @@ rebuild_table(st_table *tab)
guarantees traversing all table bins in extreme case.
According the Hull-Dobell theorem a generator
- "Xnext = (a*Xprev + c) mod m" is a full cycle generator iff
+ "Xnext = (a*Xprev + c) mod m" is a full cycle generator if and only if
o m and c are relatively prime
o a-1 is divisible by all prime factors of m
o a-1 is divisible by 4 if m is divisible by 4.