ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExUnittest
src
AthExAlgWithFPE.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
#include "
AthExAlgWithFPE.h
"
4
5
StatusCode
AthExAlgWithFPE::execute
() {
6
7
float
value = 42;
8
float
byZero=
divide
(value, 0);
9
ATH_MSG_INFO
(
"Division of "
<< value <<
" by zero is "
<< byZero);
10
11
return
StatusCode::SUCCESS;
12
}
AthExAlgWithFPE.h
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
AthExAlgWithFPE::divide
float divide(float a, float b)
Definition
divide.cxx:9
AthExAlgWithFPE::execute
virtual StatusCode execute() override
Definition
AthExAlgWithFPE.cxx:5
Generated on
for ATLAS Offline Software by
1.14.0