Skip to content

Commit

Permalink
- Inline rem() operator so it's not output in flat code.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17686 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Oct 14, 2013
1 parent 677fc4b commit e9be28f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/FrontEnd/ModelicaBuiltin.mo
Expand Up @@ -780,7 +780,7 @@ package Internal "Contains internal implementations, e.g. overloaded builtin fun
output Integer z;
algorithm
z := x - (div(x, y) * y);
annotation(preferredView="text");
annotation(preferredView="text", __OpenModelica_EarlyInline=true);
end intRem;

function realRem
Expand All @@ -789,7 +789,7 @@ package Internal "Contains internal implementations, e.g. overloaded builtin fun
output Real z;
algorithm
z := x - (div(x, y) * y);
annotation(preferredView="text");
annotation(preferredView="text", __OpenModelica_EarlyInline=true);
end realRem;

package Architecture
Expand Down

0 comments on commit e9be28f

Please sign in to comment.