mathexpr.hh (11527:9007a9729815) mathexpr.hh (11531:76d0e456a9a9)
1/*
2 * Copyright (c) 2016 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 *
37 * Authors: David Guillen Fandos
38 */
39
40#ifndef __SIM_MATHEXPR_HH__
41#define __SIM_MATHEXPR_HH__
42
43#include <algorithm>
1/*
2 * Copyright (c) 2016 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 27 unchanged lines hidden (view full) ---

36 *
37 * Authors: David Guillen Fandos
38 */
39
40#ifndef __SIM_MATHEXPR_HH__
41#define __SIM_MATHEXPR_HH__
42
43#include <algorithm>
44#include <functional>
44#include <string>
45
46class MathExpr {
47 public:
48
49 MathExpr(std::string expr);
50
51 typedef std::function<double(std::string)> EvalCallback;

--- 75 unchanged lines hidden ---
45#include <string>
46
47class MathExpr {
48 public:
49
50 MathExpr(std::string expr);
51
52 typedef std::function<double(std::string)> EvalCallback;

--- 75 unchanged lines hidden ---