You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#defineCREBLOCKVEC0(name,t) I __attribute__((aligned(CACHELINESIZE))) B##name[8]={8*SZI,(t)&TRAVERSIBLE,0,(t),ACPERMANENT,0,1,0}; // no padding at end - no atoms should be referenced
#defineGAE0(v,t,n,r,erraction) {HISTOCALL if(unlikely(!(v=jtga0(jt,(I)(t),(I)(r),(I)(n)))))erraction; AN(v)=(n);} // used when shape=0 and rank is never 1 or will always be filled in by user even if rank 1
#defineGA00(v,t,n,r) {GAE0(v,t,n,r,R 0)} // used when rank will always be filled in by user. Default error action is to exit
1240
+
#defineGA00(v,t,n,r) {GAE0(v,t,n,r,R 0)} // used when shape will always be filled in by user. Default error action is to exit
1241
1241
#defineGA(v,t,n,r,s) {GA00(v,t,n,r) MCISH(AS(v),(I*)(s),(r))} // s points to shape
1242
1242
#defineGA0(v,t,n,r) {GA00(v,t,n,r) *((r)==1?AS(v):jt->shapesink)=(n);} // used when shape=0 but rank may be 1 and must fill in with AN if so - never for sparse blocks
1243
1243
#defineGA10(v,t,n) {GA00(v,t,n,1) AS(v)[0]=(n);} // used when rank is known to be 1
// create double-precision sum of inputs, where it is not known which is larger NOTE in0 and outhi might be identical. Needs t and signbit.
1911
+
// create double-precision sum of inputs, where it is not known which is larger NOTE in0 and outhi might be identical. outlo must not be an input. Needs sgnbit.
Copy file name to clipboardExpand all lines: jsrc/ja.h
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -428,7 +428,10 @@
428
428
#definefplus(x,y) jtfplus(jt,(x),(y))
429
429
#definefpoly(x,y) jtfpoly(jt,(x),(y))
430
430
#definefpolyc(x) jtfpolyc(jt,(x))
431
-
#definefr(x) {if(likely((x)!=0)){I Zs = AC(x); if(likely(!ACISPERM(Zs))){if(likely(--Zs<=0))mf(x);else AC(x)=Zs;}}} // use fr for known nonrecursives, and for locales
#definefrcommon(x,f) {if(likely((x)!=0)){I Zs = AC(x); if(likely(!ACISPERM(Zs))){if(likely(--Zs<=0)){f(x);}else AC(x)=Zs;}}} // use fr for known nonrecursives, and for locales
433
+
#definefr(x) frcommon(x,mf)
434
+
#definefrgmp(x) frcommon(x,gmpmfree) // to free GMP blocks
0 commit comments