Skip to content

Commit

Permalink
Merge pull request #698 from bSI-InfraRoom/feature/addModuloArithOper…
Browse files Browse the repository at this point in the history
…ator

modulo arithmetic operator
  • Loading branch information
SergejMuhic authored May 5, 2024
2 parents af5a006 + 0e9261a commit f2c58f1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions IFC4x3/Constants/m/MODULO_0RCXeadnPCge7Mvd_uagq2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocConstant xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="MODULO_0RCXeadnPCge7Mvd_uagq2" Name="MODULO" UniqueId="1b321a24-9f16-4caa-81d6-e67fb892ad02">
<Documentation>Modulo. The remainder of division given two positive integer numbers.</Documentation>
</DocConstant>

Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ Applied values may be referenced from a document (such as a price list). The rel
{ .change-ifc2x4}
> IFC4 CHANGE&nbsp; Entity made non-abstract to support general formula expressions of constraints, data type of date-based attributes changed into _IfcDate_, _ValueType_ and _Condition_ promoted from _IfcCostValue_, _Components_ and _ArithmeticOperator_ attributes added to replace _IfcAppliedValueRelationship_ for more efficient encoding and reference tracking.
{ .spec-head}
**Informal Propositions**

1. When the *ArithmeticOperator* equals `MODULO`, the list of *Components* shall contain exactly two values, which shall be positive integers.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<DocConstant xsi:nil="true" href="DIVIDE_0ivNS3RULFAwrFmYODJAoG" />
<DocConstant xsi:nil="true" href="MULTIPLY_2wboDpVfz03OI67slXeQnZ" />
<DocConstant xsi:nil="true" href="SUBTRACT_16x9S33v3Z90YcnPolTRO" />
<DocConstant xsi:nil="true" href="MODULO_0RCXeadnPCge7Mvd_uagq2" />
</Constants>
</DocEnumeration>

0 comments on commit f2c58f1

Please sign in to comment.