Numworks Epsilon
1.4.1
Graphing Calculator Operating System
go_to_parameter_controller.cpp
Go to the documentation of this file.
1
#include "
go_to_parameter_controller.h
"
2
#include "../app.h"
3
#include <
assert.h
>
4
#include <cmath>
5
6
namespace
Sequence
{
7
8
bool
GoToParameterController::setParameterAtIndex(
int
parameterIndex,
double
f) {
9
assert
(parameterIndex == 0);
10
return
Shared::FunctionGoToParameterController::setParameterAtIndex
(parameterIndex,
std::round
(f));
11
}
12
13
}
14
assert
#define assert(e)
Definition:
assert.h:9
assert.h
round
#define round(x)
Definition:
math.h:192
go_to_parameter_controller.h
Sequence
Definition:
app.cpp:7
Shared::FunctionGoToParameterController::setParameterAtIndex
bool setParameterAtIndex(int parameterIndex, double f) override
Definition:
function_go_to_parameter_controller.cpp:23
epsilon
apps
sequence
graph
go_to_parameter_controller.cpp
Generated by
1.8.14