Skip to content

Modern Finance FinSolverOptionsDefault

Paul Squires edited this page Oct 19, 2026 · 4 revisions

Home › Finance › Finance › FinSolverOptionsDefault

FinSolverOptionsDefault

Returns the standard solver settings: rate bounds, 128 iterations and no guess.

Syntax

FinSolverOptionsDefault( )

Examples

#import "std/numeric"
#import "std/money"
using money, numeric

'' The standard settings: bracket a rate, 128 iterations, |f| <= 1e-12.
dim as FinSolverOptions o = FinSolverOptionsDefault( )

print o.LowerBound_                      '' about -0.9999999 -- a rate above -100%
print o.UpperBound_                      '' 1000000
print o.Tolerance_                       '' 1e-012
print o.BracketSteps_                    '' 64

'' Guess_ is NaN, meaning "no caller seed" -- each entry point then
'' supplies its own domain seed.
print IsNaN( o.Guess_ )                  '' true

Library: Finance
Category: Finance
Documented under: Nothing Becomes A Keyword
Source: pkg/std/money/finsolve.tiko in the tiko repository.

Clone this wiki locally