package com.bytezone.diskbrowser.visicalc; // -----------------------------------------------------------------------------------// class Exp extends ValueFunction // -----------------------------------------------------------------------------------// { // ---------------------------------------------------------------------------------// Exp (Cell cell, String text) // ---------------------------------------------------------------------------------// { super (cell, text); assert text.startsWith ("@EXP(") : text; } // ---------------------------------------------------------------------------------// @Override public double calculateValue () // ---------------------------------------------------------------------------------// { return Math.exp (source.getDouble ()); } }