local lovely = require("lovely")
local nativefs = require("nativefs")
Notation = nativefs.load(Talisman.mod_path.."/big-num/notations/notation.lua")()
ScientificNotation = {}
ScientificNotation.__index = ScientificNotation
ScientificNotation.__tostring = function ()
    return "ScientificNotation"
end
setmetatable(ScientificNotation, Notation)

function ScientificNotation:new()
    return setmetatable({}, ScientificNotation)
end

function ScientificNotation:get_number(n, places)
    return self.format_mantissa(n.m, places)
end

function ScientificNotation:get_suffix(n)
    return "e" .. n.e
end

return ScientificNotation