diff --git a/modcc/printer/cexpr_emit.cpp b/modcc/printer/cexpr_emit.cpp
index 2639087748673b2972a2b86f162af549cf6dba9b..62aecf2e5c465997ca286db24667d27883c0573a 100644
--- a/modcc/printer/cexpr_emit.cpp
+++ b/modcc/printer/cexpr_emit.cpp
@@ -52,7 +52,7 @@ void CExprEmitter::visit(UnaryExpression* e) {
         {tok::cos,     "cos"},
         {tok::sin,     "sin"},
         {tok::log,     "log"},
-        {tok::abs,     "fabs"},
+        {tok::abs,     "abs"},
         {tok::exprelr, "exprelr"}
     };
 
diff --git a/modcc/token.cpp b/modcc/token.cpp
index fb3276637ce092f2b2160c6012c00548a05e41f2..bd9a2957dcfe3af6d24679d33ce8cae53dd0c3b8 100644
--- a/modcc/token.cpp
+++ b/modcc/token.cpp
@@ -64,7 +64,7 @@ static Keyword keywords[] = {
     {"sin",         tok::sin},
     {"cos",         tok::cos},
     {"log",         tok::log},
-    {"abs",         tok::abs},
+    {"fabs",        tok::abs},
     {"exprelr",     tok::exprelr},
     {"CONDUCTANCE", tok::conductance},
     {nullptr,       tok::reserved},
@@ -134,7 +134,7 @@ static TokenString token_strings[] = {
     {"max",         tok::max},
     {"exp",         tok::exp},
     {"log",         tok::log},
-    {"abs",         tok::abs},
+    {"fabs",        tok::abs},
     {"exprelr",     tok::exprelr},
     {"cos",         tok::cos},
     {"sin",         tok::sin},