12 lines
397 B
JavaScript
12 lines
397 B
JavaScript
|
import {ImplementationsGenerator} from './Implementations.js'
|
||
|
import {ReturnTyping} from './Type.js'
|
||
|
import {match, Passthru} from './TypePatterns.js'
|
||
|
|
||
|
export const config = new ImplementationsGenerator(() => match(Passthru, {
|
||
|
// default comparison tolerances:
|
||
|
relTol: 1e-12,
|
||
|
absTol: 1e-15,
|
||
|
// Strategy for choosing operation return types:
|
||
|
returnTyping: ReturnTyping.free,
|
||
|
}))
|