summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/plain_constants.asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-27 23:41:11 +0000
committerKarl Berry <karl@freefriends.org>2022-02-27 23:41:11 +0000
commit8027f287eb46d487a0e379911bdbc4d6c2bf44e4 (patch)
treeb6e3aeebab3f5c2560ae1ab892b76cca269eb05e /Master/texmf-dist/asymptote/plain_constants.asy
parenta4855ce49e2101557c17547c2d22594e1b2a215c (diff)
asymptote 2.78 support files
git-svn-id: svn://tug.org/texlive/trunk@62265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/plain_constants.asy')
-rw-r--r--Master/texmf-dist/asymptote/plain_constants.asy18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/asymptote/plain_constants.asy b/Master/texmf-dist/asymptote/plain_constants.asy
index 136b3540218..6cca1406cf7 100644
--- a/Master/texmf-dist/asymptote/plain_constants.asy
+++ b/Master/texmf-dist/asymptote/plain_constants.asy
@@ -31,9 +31,9 @@ restricted pair WSW=unit(W+SW);
restricted pair SSW=unit(S+SW);
restricted pair SSE=unit(S+SE);
restricted pair ESE=unit(E+SE);
-
+
restricted real sqrtEpsilon=sqrt(realEpsilon);
-restricted pair Align=sqrtEpsilon*NE;
+restricted pair Align=sqrtEpsilon*NE;
restricted int mantissaBits=ceil(-log(realEpsilon)/log(2))+1;
restricted transform identity;
@@ -108,7 +108,7 @@ void write(file file, string s="", bool3 b, suffix suffix=none)
else write("default",suffix);
}
-void write(string s="", bool3 b, suffix suffix=endl)
+void write(string s="", bool3 b, suffix suffix=endl)
{
write(stdout,s,b,suffix);
}
@@ -128,32 +128,32 @@ bool3 operator cast(bool b)
return B;
}
-bool operator == (bool3 a, bool3 b)
+bool operator == (bool3 a, bool3 b)
{
return a.set == b.set && (!a.set || (a.value == b.value));
}
-bool operator != (bool3 a, bool3 b)
+bool operator != (bool3 a, bool3 b)
{
return a.set != b.set || (a.set && (a.value != b.value));
}
-bool operator == (bool3 a, bool b)
+bool operator == (bool3 a, bool b)
{
return a.set && a.value == b;
}
-bool operator != (bool3 a, bool b)
+bool operator != (bool3 a, bool b)
{
return !a.set || a.value != b;
}
-bool operator == (bool a, bool3 b)
+bool operator == (bool a, bool3 b)
{
return b.set && b.value == a;
}
-bool operator != (bool a, bool3 b)
+bool operator != (bool a, bool3 b)
{
return !b.set || b.value != a;
}