POLARDUPABLEXPR(3)
π POLARDUPABLEXPR β the ABL FUNCTIONS era π
okay bestie, sit down, hydrate, because we're talking about polardupablexpr from the ABL FUNCTIONS manual (section 3, obviously, we stay in section 3 around here) π
β¨ NAME β¨
polardupablexpr β duplicates an expression and moves down the inverters. that's it, that's the whole vibe, no cap π
πΈ ORIGIN πΈ
okay so this software? it belongs to the ALLIANCE CAD SYSTEM, and it was developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. Paris!! the main character city!! π
- Web : http://asim.lip6.fr/recherche/alliance/
- E-mail : alliance-users@asim.lip6.fr
π¦ SYNOPSIS π¦
#include "abl101.h"
chain_list βpolardupablexpr( Expr, Polar )
chain_list βExpr;
int Polar;
π PARAMETERS π
Exprβ the expression you're about to modify. yes, it gets modified in place, she's not shy π«ΆPolarβ the expression polarity. it matters, iykyk.
π DESCRIPTION π
so polardupablexpr modifies Expr by moving down the inverters to the atomic level. like, all the way down. the inverters are going to the atomic level and they're staying there. π
and here's the slay part: polardupablexpr applies Morgan's laws. yes, those Morgan's laws. iconic behaviour.
and if Polar is equal to ABL_POLAR_NEGATIVE, the function returns the modified expression after having complemented it. so basically it complements it and then hands it back to you. periodt. β¨
π RETURN VALUE π
polardupablexpr returns the modified expression. that's the whole return value. she gives you the modified expression and nothing else. π
π§ EXAMPLE π§
look at this little code moment, it's giving tutorial core:
#include "abl101.h"
chain_list βExpr1;
chain_list βExpr2;
Expr1 = createabloper( ABL_NOT );
Expr2 = createabloper( ABL_NOT );
addablhexpr( Expr1, createablatom( "a" ) );
addablhexpr( Expr2, Expr1 );
Expr1 = polardupablexpr( Expr2, ABL_POLAR_POSITIVE );
/* displays a */
viewablexpr( Expr1, ABL_VIEW_VHDL );
double negation? gone. cancelled. reduced to a. we love a glow-up π₯
π« SEE ALSO π«
π BUG REPORT π
ngl, this tool is under development at the ASIM department of the LIP6 laboratory. they need your feedback to improve documentation and tools. so likeβ¦ tell them things?? they're literally asking π₯Ί
and that's the whole page, bestie!! this little gem is from ASIM/LIP6, dated October 1, 1997 (a vintage queen, born in 1997, we love a Scorpio-adjacent legend), and yes, the manual page name is POLARDUPABLEXPR(3) in case you forgot β which you didn't, because you read the whole thing. obsessed with you fr fr π πβ¨
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms