botanist  v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
botanist::DoubleEvaluator Class Referencefinal

構文評価器 (倍精度浮動小数点数) More...

#include <double.hpp>

Public Member Functions

 DoubleEvaluator (collection2::Stack< double > &calcStack)
 
double evaluate (collection2::List< SyntaxNode > &nodeList)
 引数に与えられた直列化済みの構文木を解析し、結果を返します。 More...
 

Detailed Description

構文評価器 (倍精度浮動小数点数)

Member Function Documentation

◆ evaluate()

double botanist::DoubleEvaluator::evaluate ( collection2::List< SyntaxNode > &  nodeList)

引数に与えられた直列化済みの構文木を解析し、結果を返します。

Parameters
nodeList直列化された構文ノードのリスト
Returns
double 計算結果
Note
内部の計算は倍精度浮動小数点(double)により行われるため、誤差が発生する場合があります。

The documentation for this class was generated from the following file: