JCL Help:MineSingleBuffer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

MineSingleBuffer fills the buffer with consecutive tagged signaling NaNs.


Pascal

 procedure MineSingleBuffer(var Buffer; Count: Integer; StartTag: TNaNTag = 0);


Parameters

Parameters Description
var Buffer The buffer to initialize with SNaN values.
Count: Integer The number of array elements.
StartTag: TNaNTag = 0 The integer value assigned to the first array element. The tag is increased with each subsequent array element.


Description

MineSingleBuffer fills the buffer with consecutive tagged signaling NaNs. This allows for real number arrays which enforce initialization: any attempt to load an uninitialized array element into the FPU will raise an exception either of class EJclNaNSignal (Windows NT) or EInvalidOp (else). Under Windows NT thus the violating array index can be derived from the EJclNaNSignal object's Tag property.


See Also

TNaNTag GetNaNTag MineDoubleBuffer MakeSignalingNaN


About

Unit

JclMath


Donator

Robert Rossmair


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page