WAV101's floating-point values are presented in custom numeric controls; referred to as Math-Boxes. Each is essentially a command line calculator powered by Behavioural Calculus' Math Core. The version integrated into WAV101 is a lightweight, real number derivative of it. Use the context menu's Properties option to configure how expressions are processed and results displayed. Keep in mind that Math-Box properties are applied per profile; not per individual control.
Math Core is based on Microsoft's implementation of the IEEE 754, double precision number type. Double precision numbers have the following characteristics;
Note that Math Core's expression processing is case and space insensitive. For the most part, the use of parentheses is optional, however, they are recommended. Inputs may be expressed in either standard or exponential, radix 10 notation. Furthermore, numeric passive signing may never trail the number, regardless of system settings. The use of the thousands separator is allowed provided that no system setting contention exists. System settings may be verified and/or modified in the Windows' Control Panel, Regional Settings.
Number FormatMath Core's number formats include Fixed-Point, Scientific and Engineering notations, as well as, Fractions. Number formats are complimented by the decimal precision setting, which defines how many digits are to be displayed to the right of the decimal point. Concise Mode may be used to automatically float the precision setting as resolution varies. Furthermore, Math Core supports the use of Degrees, Radians and Gradians as angles of measure.
Implicit MultiplicationImplicit Multiplication forces any undefined operations between functions to be assigned a multiplication operator. As a result, the traditional asterisk is rarely ever required to denote a multiplication. Note the following examples;
Implicit Association allows a single parenthesis to define a formal argument list. That is not to say that complimenting parentheses are not required, rather, during the parsing process non-paired parentheses are automatically complimented. Implicit association's key advantage is that a cascading series of parentheses can be used to generate embedded argument lists without the need to formally terminate each list within a series. Note the following examples;
Math Core also includes ten embedded memory variables. They are designated by the symbols Q through Z. Their use is straightforward, insert them freely into any arithmetic expression. Conversely, assigning a value to a memory is accomplished by the = symbol. Multiple assignments may occur in an expression and may be located anywhere within it. As it follows, the use of parentheses is often critical in defining what is to be assigned. Note the following examples;
Math Core uses 2 state logic; where all non zero values are interpreted to be true and 0 as false. Subsequently, results will either be expressed as 1 for true or 0 for false.