logisheets_controller 0.6.0

the core of LogiSheets
Documentation
1
2
3
4
5
6
7
8
9
use crate::calc_engine::calculator::calc_vertex::CalcVertex;
use logisheets_parser::ast;

pub fn calc(args: Vec<CalcVertex>) -> CalcVertex {
    if args.len() > 0 {
        return CalcVertex::from_error(ast::Error::Unspecified);
    }
    CalcVertex::from_number(std::f64::consts::PI)
}