-
Notifications
You must be signed in to change notification settings - Fork 0
exp
ffredyk edited this page Jul 23, 2026
·
1 revision
Math
Unary — exp <number>.
exp <number>
Returns e (Euler's number, ~2.71828) raised to the given power. This is the natural exponential function. exp x = e^x. Auto-unwraps shared values.
Calls Math.Exp(double). The inverse of log.
exp 0; // 1
exp 1; // 2.71828...
exp 2; // 7.389...
// Compound continuous growth
_growth = _principal * exp (_rate * _time);
// Logistic / sigmoid
_sigmoid = 1 / (1 + exp (-_x));
// Softmax helper
_sumExp = 0;
{ _sumExp = _sumExp + exp _x } forEach _values;ReadOnly — pure computation. Safe from any scheduler.
- Getting Started
- Language Guide
- Type System
- Control Flow
- Functions & Code
- Strings & Text
- Arrays & Collections
- Concurrency
- Promise System
- Thread Safety
- Host API & Embedding
- CLI Tool
- Bytecode Reference
- Multiplayer
- Syntax Sugar
- Optimization Guide
- Benchmarks
- count
- select
- pushBack
- append
- deleteAt
- deleteRange
- resize
- reverse
- sort
- find
- in
- forEach
- freeze
- thaw
- isFrozen
- currentScheduler
- clientOwner
- allSchedulers
- schedulerName
- schedulerExists
- schedulerBudget
- setSchedulerBudget
- fiberCount
- readyFiberCount
- waitingFiberCount
- schedulerLoad
- sendTo