Commit 22bae627 authored by Over_score's avatar Over_score

Merge branch '386-implement-slvq' into 'master'

Resolve "Implement SLVQ"

Closes #386

See merge request !473
parents ba4d8793 4a9ddad3
......@@ -77,7 +77,7 @@ SRC_WP43S = \
division.c exp.c factorial.c floor.c fractionalPart.c gamma.c gcd.c \
imaginaryPart.c integerPart.c invert.c lcm.c ln.c log10.c \
log2.c magnitude.c minusOnePow.c modulo.c multiplication.c parallel.c power.c \
realPart.c remainder.c reToCx.c sign.c sin.c sinh.c square.c squareRoot.c \
realPart.c remainder.c reToCx.c sign.c sin.c sinh.c slvq.c square.c squareRoot.c \
subtraction.c swapRealImaginary.c tan.c tanh.c toPolar.c toRect.c unitVector.c \
wp34s.c) \
$(addprefix src/wp43s/logicalOps/, \
......
This diff is collapsed.
;*************************************************************
;*************************************************************
;** **
;** slvq **
;** **
;*************************************************************
;*************************************************************
In: FD=0 FI=0 SD=0 RM=0 IM=2compl SS=4 WS=64
Func: fnSlvq
;=======================================================================================================================
; Error case: a=0 and b=0
;=======================================================================================================================
In: NCSD=34 SL=0 FI=0 RL=LonI:"852" RZ=LonI:"0" RY=Re34:"0.0" RX=Re16:"5.5"
Out: EC=1 FI=0 SL=0 RL=LonI:"852" RZ=LonI:"0" RY=Re34:"0.0" RX=Re16:"5.5"
In: SL=1 FI=0 RL=LonI:"852" RZ=Re34:"0.0" RY=Re16:"0.0" RX=Re34:"-7.3"
Out: EC=1 FI=0 SL=1 RL=LonI:"852" RZ=Re34:"0.0" RY=Re16:"0.0" RX=Re34:"-7.3"
;=======================================================================================================================
; REAL Domain
;=======================================================================================================================
; 4*x^2 = 0
;-----------
In: NCSD=16 SL=0 FI=0 RL=Re16:"3.5" RZ=LonI:"4" RY=LonI:"0" RX=LonI:"0"
Out: EC=0 FI=0 SL=1 RL=LonI:"0" RZ=Re16:"0.0" RY=Re16:"0.0" RX=Re16:"0.0"
; 4*x^2 = 0
; With different types
;----------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"7" RZ=LonI:"4" RY=LonI:"0" RX=Re34:"0.0"
Out: EC=0 FI=0 SL=1 RL=Re34:"0.0" RZ=Re34:"0.0" RY=Re34:"0.0" RX=Re34:"0.0"
; 4*x^2 = 0
; With different types
;----------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"-5" RZ=LonI:"4" RY=Re16:"0.0" RX=Re34:"0.0"
Out: EC=0 FI=0 SL=1 RL=Re34:"0.0" RZ=Re34:"0.0" RY=Re34:"0.0" RX=Re34:"0.0"
; 4*x^2 = 0
; With different types
;----------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"2" RZ=Re34:"4.0" RY=Re34:"0.0" RX=Re34:"0.0"
Out: EC=0 FI=0 SL=1 RL=Re34:"0.0" RZ=Re34:"0.0" RY=Re34:"0.0" RX=Re34:"0.0"
; 4*x^2 -1 = 0
;--------------
In: NCSD=16 SL=0 FI=0 RL=LonI:"0" RZ=Re16:"4.0" RY=LonI:"0" RX=LonI:"-1"
Out: EC=0 FI=0 SL=1 RL=LonI:"-1" RZ=Re16:"16.0" RY=Re16:"0.5" RX=Re16:"-0.5"
; 4*x^2 +1 = 0
;--------------
In: NCSD=16 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"4" RY=LonI:"0" RX=LonI:"1"
Out: EC=0 FI=1 SL=1 RL=LonI:"1" RZ=Re16:"-16" RY=Co16:"0 i 0.5" RX=Co16:"0 i -0.5"
; 44*x^2 -1 = 0
;---------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"44" RY=Re34:"0" RX=LonI:"-1"
Out: EC=0 FI=0 SL=1 RL=LonI:"-1" RZ=Re34:"176.0" RY=Re34:"0.15075567228888181132340603348503121290577675207224334532084919" RX=Re34:"-0.15075567228888181132340603348503121290577675207224334532084919"
; 44.11*x^2 - 11.38 = 0
; ----------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=Re34:"44.11" RY=LonI:"0" RX=Re34:"-11.38"
Out: EC=0 FI=0 SL=1 RL=Re34:"-11.38" RZ=Re34:"2007.8872" RY=Re34:"0.50792852368559698875245740831562781671110369203892431229416952" RX=Re34:"-0.50792852368559698875245740831562781671110369203892431229416952"
; 4*x^2 + 1 = 0
;---------------
In: NCSD=16 SL=0 FI=1 RL=LonI:"0" RZ=LonI:"4" RY=LonI:"0" RX=LonI:"1"
Out: EC=0 FI=1 SL=1 RL=LonI:"1" RZ=Re16:"-16.0" RY=Co16:"0 i 0.5" RX=Co16:"0 i -0.5"
; x^2 - 2*x + 1 = 0
;-------------------
In: NCSD=16 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"1" RY=LonI:"-2" RX=LonI:"1"
Out: EC=0 FI=0 SL=1 RL=LonI:"1" RZ=Re16:"0.0" RY=Re16:"1.0" RX=Re16:"1.0"
; x^2 + 2*x - 3 = 0
;-------------------
In: NCSD=16 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"1" RY=LonI:"2" RX=LonI:"-3"
Out: EC=0 FI=0 SL=1 RL=LonI:"-3" RZ=Re16:"16.0" RY=Re16:"1.0" RX=Re16:"-3.0"
; x^2 - 1.786737601482363*x + 2.054360090947453E-8 = 0
;------------------------------------------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=Re16:"1.0" RY=Re16:"-1.786737601482363" RX=Re34:"2.054360090947453e-8"
Out: EC=0 FI=0 SL=1 RL=Re34:"2.054360090947453E-8" RZ=Re34:"3.192431174376543782196880063769" RY=Re34:"1.1497827674657217103857607276987129075472135015105120096e-8" RX=Re34:"1.7867375899845353253427828961423927230128709245278649848948799"
; x^2 + (1.0e+20 + 1)*x + 1.0e+20 = 0
;-------------------------------------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=Re34:"1.0" RY=Re34:"100000000000000000001.0" RX=Re34:"1e20"
Out: EC=0 FI=0 SL=1 RL=Re34:"1e20" RZ=Re34:"9999999999999999999800000000000000000001" RY=Re34:"-1.0" RX=Re34:"-1.0e20"
;=======================================================================================================================
; COMPLEX Domain
;=======================================================================================================================
; x^2 - i = 0
;-------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"1" RY=LonI:"0" RX=Co34:"0.0 i -1.0"
Out: EC=0 FI=1 SL=1 RL=Co34:"0.0 i -1.0" RZ=Co34:"0 i 4.0" RY=Co34:"-0.70710678118654752440084436210484903928483593768847403658833987 i -0.70710678118654752440084436210484903928483593768847403658833987" RX=Co34:"0.70710678118654752440084436210484903928483593768847403658833987 i 0.70710678118654752440084436210484903928483593768847403658833987"
; x^2 + i = 0
;-------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=LonI:"1" RY=LonI:"0" RX=Co34:"0.0 i 1.0"
Out: EC=0 FI=1 SL=1 RL=Co34:"0.0 i 1.0" RZ=Co34:"0 i -4.0" RY=Co34:"-0.70710678118654752440084436210484903928483593768847403658833987 i 0.70710678118654752440084436210484903928483593768847403658833987" RX=Co34:"0.70710678118654752440084436210484903928483593768847403658833987 i -0.70710678118654752440084436210484903928483593768847403658833987"
; i*x^2 - i*x -5 = 0
;----------------------------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"0" RZ=Co34:"0.0 i 1.0" RY=Co34:"0.0 i -1.0" RX=Re34:"-5.0"
Out: EC=0 FI=1 SL=1 RL=Re34:"-5.0" RZ=Co34:"-1.0 i 20.0" RY=Co34:"-1.1211486820500450988121171623125716198421592468400838370181835 i 1.5421164188583812027171262595825062643873443448213840162089221" RX=Co34:"2.1211486820500450988121171623125716198421592468400838370181835 i -1.5421164188583812027171262595825062643873443448213840162089221"
; i*x^2 - i*x = 0
;------------------------------------
In: NCSD=34 SL=0 FI=0 RL=LonI:"5" RZ=Co16:"0.0 i 1.0" RY=Co34:"0.0 i -1.0" RX=Re16:"0.0"
Out: EC=0 FI=0 SL=1 RL=Re16:"0.0" RZ=Re34:"-1.0" RY=Re34:"1.0" RX=Re34:"0.0"
......@@ -120,6 +120,7 @@ const funcTest_t funcTestNoParam[] = {
{"fnSign", fnSign },
{"fnSin", fnSin },
{"fnSinh", fnSinh },
{"fnSlvq", fnSlvq },
{"fnSquare", fnSquare },
{"fnSquareRoot", fnSquareRoot },
{"fnSubtract", fnSubtract },
......@@ -1022,10 +1023,17 @@ int relativeErrorReal16(real16_t *expectedValue16, real16_t *value16, char *numb
realIcDivide(&relativeError, &expectedValue, &relativeError);
realIcDivide(const_1, &relativeError, &numSignificantDigits);
}
else {
realIcCopy(const_1, &numSignificantDigits);
}
realIcSetPositiveSign(&numSignificantDigits);
//realIcLog10(&numSignificantDigits, &numSignificantDigits);
if(!realIcIsZero(&numSignificantDigits)) {
WP34S_Log10(&numSignificantDigits, &numSignificantDigits);
}
else {
realIcZero(&numSignificantDigits);
}
realIcToReal16(&numSignificantDigits, &integer);
correctSignificantDigits = real16ToInt32(&integer);
......@@ -1059,10 +1067,17 @@ int relativeErrorReal34(real34_t *expectedValue34, real34_t *value34, char *numb
realIcDivide(&relativeError, &expectedValue, &relativeError);
realIcDivide(const_1, &relativeError, &numSignificantDigits);
}
else {
realIcCopy(const_1, &numSignificantDigits);
}
realIcSetPositiveSign(&numSignificantDigits);
//realIcLog10(&numSignificantDigits, &numSignificantDigits);
WP34S_Log10(&numSignificantDigits, &numSignificantDigits);
if(!realIcIsZero(&numSignificantDigits)) {
WP34S_Log10(&numSignificantDigits, &numSignificantDigits);
}
else {
realIcZero(&numSignificantDigits);
}
realIcToReal16(&numSignificantDigits, &integer);
correctSignificantDigits = real16ToInt32(&integer);
......@@ -1640,11 +1655,15 @@ void checkExpectedOutParameter(char *p) {
else {
checkRegisterType(regist, letter, dtReal34, am);
stringToReal34(r, &expectedReal34);
//printf("\nexpectedReal34 = "); printReal34ToConsole(&expectedReal34); printf("\n");
//printf("\nR%d = ", regist); printRegisterToConsole(regist); printf("\n");
//printf("\n1<%s|%s|%s>\n", p, l, r);
if(!real34AreEqual(REGISTER_REAL34_DATA(regist), &expectedReal34)) {
expectedAndShouldBeValue(regist, letter, r, registerExpectedAndValue);
if(relativeErrorReal34(&expectedReal34, REGISTER_REAL34_DATA(regist), "real") == RE_INACCURATE) {
wrongRegisterValue(regist, letter, r);
}
//printf("\n2<%s|%s|%s>\n", p, l, r);
}
}
}
......
......@@ -194,3 +194,5 @@ lcm.txt
magnitude.txt
unitVector.txt
slvq.txt
This diff is collapsed.
......@@ -101,7 +101,6 @@
#define CONST_76 2736
#define CONST_77 2772
#define CONST_78 2808
#define CONST_79 2844
extern const uint8_t constants[];
extern const realIc_t * const const_1on2;
......@@ -114,7 +113,6 @@ extern const realIc_t * const const_c1;
extern const realIc_t * const const_c2;
extern const realIc_t * const const_e;
extern const realIc_t * const const_eE;
extern const realIc_t * const const_eme;
extern const realIc_t * const const_F;
extern const realIc_t * const const_Falpha;
extern const realIc_t * const const_Fdelta;
......@@ -133,8 +131,8 @@ extern const realIc_t * const const_me;
extern const realIc_t * const const_MM;
extern const realIc_t * const const_mn;
extern const realIc_t * const const_mnOnmp;
extern const realIc_t * const const_mPL;
extern const realIc_t * const const_mp;
extern const realIc_t * const const_mPL;
extern const realIc_t * const const_mpOnme;
extern const realIc_t * const const_mu;
extern const realIc_t * const const_muc2;
......@@ -259,6 +257,7 @@ extern const realIc_t * const const_HpmToW;
extern const realIc_t * const const_HpukToW;
extern const realIc_t * const const_HpeToW;
extern const realIc_t * const const_YearToS;
extern const realIc_t * const const__4;
extern const realIc_t * const const__1;
extern const realIc_t * const const_1e_37;
extern const realIc_t * const const_1e_24;
......
......@@ -21,88 +21,7 @@
#include "wp43s.h"
const constant_t physicalAndMathConstants[] = {
/* 0 */ {.label = "1/2", .value = CONST_00}, // 0.5 trivial but helpfull
/* 1 */ {.label = "a", .value = CONST_01}, // Gregorian year (days) per definition
/* 2 */ {.label = "a" STD_SUB_0, .value = CONST_02}, // Bohr radius
/* 3 */ {.label = "a" STD_SUB_M STD_SUB_o STD_SUB_o STD_SUB_n, .value = CONST_03}, // Semi major axis of the Moon's orbit
/* 4 */ {.label = "a" STD_SUB_EARTH, .value = CONST_04}, // Semi major axis of the Earth's orbit
/* 5 */ {.label = "c", .value = CONST_05}, // Speed of light in vaccum (per definition)
/* 6 */ {.label = "c" STD_SUB_1, .value = CONST_06}, // 1st radiation constant
/* 7 */ {.label = "c" STD_SUB_2, .value = CONST_07}, // 2nd radiation constant
/* 8 */ {.label = "e", .value = CONST_08}, // Electron charge
/* 9 */ {.label = "e" STD_SUB_E, .value = CONST_09}, // Euler's e
/* 10 */ {.label = "e/m" STD_SUB_e, .value = CONST_10}, // Electron charge to mass ratio
/* 11 */ {.label = "F", .value = CONST_11}, // Faraday's constant,
/* 12 */ {.label = "F" STD_SUB_alpha, .value = CONST_12}, // Feigenbaum's alpha
/* 13 */ {.label = "F" STD_SUB_delta, .value = CONST_13}, // Feigenbaum's delta
/* 14 */ {.label = "G", .value = CONST_14}, // Newtonian constant of gravitation
/* 15 */ {.label = "G" STD_SUB_0, .value = CONST_15}, // Conductance quantum
/* 16 */ {.label = "G" STD_SUB_C, .value = CONST_16}, // Catalan's constant
/* 17 */ {.label = "g" STD_SUB_e, .value = CONST_17}, // Landé's electron g-factor
/* 18 */ {.label = "GM" STD_SUB_EARTH, .value = CONST_18}, // Newtonian constant of gravitation times Earth's mass with its atmosphere included
/* 19 */ {.label = "g" STD_SUB_EARTH, .value = CONST_19}, // Standard Earth acceleration (per definition)
/* 20 */ {.label = STD_PLANCK, .value = CONST_20}, // Planch constant
/* 21 */ {.label = STD_PLANCK_2PI, .value = CONST_21}, // h/2pi
/* 22 */ {.label = "k", .value = CONST_22}, // Bolzmann constant
/* 23 */ {.label = "K" STD_SUB_J, .value = CONST_23}, // Josephson constant
/* 24 */ {.label = "l" STD_SUB_P STD_SUB_L, .value = CONST_24}, // Planck length
/* 25 */ {.label = "m" STD_SUB_e, .value = CONST_25}, // Electron mass
/* 26 */ {.label = "M" STD_SUB_M STD_SUB_o STD_SUB_o STD_SUB_n, .value = CONST_26}, // Mass of the Moon
/* 27 */ {.label = "m" STD_SUB_n, .value = CONST_27}, // Neutron mass
/* 28 */ {.label = "m" STD_SUB_n "/m" STD_SUB_p, .value = CONST_28}, // Neutron to proton mass ratio
/* 29 */ {.label = "m" STD_SUB_p, .value = CONST_29}, // Proton mass
/* 30 */ {.label = "m" STD_SUB_P STD_SUB_L, .value = CONST_30}, // Planck mass,
/* 31 */ {.label = "m" STD_SUB_p "/m" STD_SUB_e, .value = CONST_31}, // Proton to electron mass ratio
/* 32 */ {.label = "m" STD_SUB_u, .value = CONST_32}, // Atomic mass unit
/* 33 */ {.label = "m" STD_SUB_u "c" STD_SUP_2, .value = CONST_33}, // Energy equivalent of atomic mass unit
/* 34 */ {.label = "m" STD_SUB_mu, .value = CONST_34}, // Muon mass
/* 35 */ {.label = "M" STD_SUB_SUN, .value = CONST_35}, // Mass of the Sun
/* 36 */ {.label = "M" STD_SUB_EARTH, .value = CONST_36}, // Mass of the Earth
/* 37 */ {.label = "N" STD_SUB_A, .value = CONST_37}, // Avogadro's number
/* 38 */ {.label = "NaN", .value = CONST_38}, // Not a Number
/* 39 */ {.label = "p" STD_SUB_0, .value = CONST_39}, // Standard atmospheric pressure (per definition)
/* 40 */ {.label = "R", .value = CONST_40}, // Molar gas constant
/* 41 */ {.label = "r" STD_SUB_e, .value = CONST_41}, // Classical electron radius
/* 42 */ {.label = "R" STD_SUB_K, .value = CONST_42}, // von Klitzing constant
/* 43 */ {.label = "R" STD_SUB_M STD_SUB_o STD_SUB_o STD_SUB_n, .value = CONST_43}, // Mean radius of the Moon
/* 44 */ {.label = "R" STD_SUB_INFINITY, .value = CONST_44}, // Rydberg constant
/* 45 */ {.label = "R" STD_SUB_SUN, .value = CONST_45}, // Mean radius of the Sun
/* 46 */ {.label = "R" STD_SUB_EARTH, .value = CONST_46}, // Mean radius of the Earth
/* 47 */ {.label = "Sa", .value = CONST_47}, // Semi-major axis of the model WGS84 used to define Earth's surface for GPS and other surveying purposes (per definition)
/* 48 */ {.label = "Sb", .value = CONST_48}, // Semi-minor axis of WGS84
/* 49 */ {.label = "Se" STD_SUP_2, .value = CONST_49}, // 1st eccentricity squared of WGS84
/* 50 */ {.label = "Se'" STD_SUP_2, .value = CONST_50}, // 2nd eccentricity squared of WGS84
/* 51 */ {.label = "Sf" STD_SUP_MINUS_1, .value = CONST_51}, // Flattening parameter of WGS84 (per definition)
/* 52 */ {.label = "T" STD_SUB_0, .value = CONST_52}, // 0°C standard temperature (per definition)
/* 53 */ {.label = "T" STD_SUB_P, .value = CONST_53}, // Planck temperature
/* 54 */ {.label = "t" STD_SUB_P STD_SUB_L, .value = CONST_54}, // Planck time
/* 55 */ {.label = "V" STD_SUB_m, .value = CONST_55}, // Molar volume of an ideal gas at standard conditions
/* 56 */ {.label = "Z" STD_SUB_0, .value = CONST_56}, // Characteristic impedance of vaccum
/* 57 */ {.label = STD_alpha, .value = CONST_57}, // Fine-structure constant
/* 58 */ {.label = STD_gamma, .value = CONST_58}, // Newtonian constant of gravitation (duplicate of CONST_14)
/* 59 */ {.label = STD_gamma "EM", .value = CONST_59}, // Euler-Mascheroni constant
/* 60 */ {.label = STD_gamma STD_SUB_p, .value = CONST_60}, // Proton gyromagnetic ratio
/* 61 */ {.label = STD_epsilon STD_SUB_0, .value = CONST_61}, // Electric constant or vaccum permittivity
/* 62 */ {.label = STD_lambda STD_SUB_C, .value = CONST_62}, // Compton wavelengths of electron
/* 63 */ {.label = STD_lambda STD_SUB_C STD_SUB_n, .value = CONST_63}, // Compton wavelengths of neutron
/* 64 */ {.label = STD_lambda STD_SUB_C STD_SUB_p, .value = CONST_64}, // Compton wavelengths of proton
/* 65 */ {.label = STD_mu STD_SUB_0, .value = CONST_65}, // Magnetic constant or caccum permeability
/* 66 */ {.label = STD_mu STD_SUB_B, .value = CONST_66}, // Bohr's magneton
/* 67 */ {.label = STD_mu STD_SUB_e, .value = CONST_67}, // Electron magnetic moment
/* 68 */ {.label = STD_mu STD_SUB_e "/" STD_mu STD_SUB_B, .value = CONST_68}, // Ratio of electron magnetic momment to Bohr's magnetron
/* 69 */ {.label = STD_mu STD_SUB_n, .value = CONST_69}, // Neutron magnetic moment
/* 70 */ {.label = STD_mu STD_SUB_p, .value = CONST_70}, // Proton magnetic moment
/* 71 */ {.label = STD_mu STD_SUB_u, .value = CONST_71}, // Nuclear magneton
/* 72 */ {.label = STD_mu STD_SUB_mu, .value = CONST_72}, // Muon magnetic moment
/* 73 */ {.label = STD_sigma STD_SUB_B, .value = CONST_73}, // Stefan-Boltzmann constant
/* 74 */ {.label = STD_PHI, .value = CONST_74}, // Golden ration
/* 75 */ {.label = STD_PHI STD_SUB_0, .value = CONST_75}, // Magnetic flux quantum
/* 76 */ {.label = STD_omega, .value = CONST_76}, // Angular velocity of the Earth according WGS84
/* 77 */ {.label = "-" STD_INFINITY, .value = CONST_77}, // -infinity
/* 78 */ {.label = STD_INFINITY, .value = CONST_78}, // infinity
/* 79 */ {.label = "#", .value = CONST_79} // See the very last command of the IOP
};
/********************************************//**
* \brief Replaces the X content with the selected
......
......@@ -15,19 +15,9 @@
*/
/********************************************//**
* \file constants.h type defs and functions for constant management
* \file constants.h functions for constant management
***********************************************/
/********************************************//**
* \typedef constant_t
* \brief Structure keeping the informations for
* one constant
***********************************************/
typedef struct {
const char *label; ///< Label used for calc's softkeys.
const uint16_t value; ///< Offset in the constants array
} constant_t;
void fnConstant(const uint16_t constant);
......
This diff is collapsed.
......@@ -66,6 +66,7 @@
#include "sign.h"
#include "sin.h"
#include "sinh.h"
#include "slvq.h"
#include "square.h"
#include "squareRoot.h"
#include "subtraction.h"
......
This diff is collapsed.
/* This file is part of 43S.
*
* 43S is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* 43S is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with 43S. If not, see <http://www.gnu.org/licenses/>.
*/
/********************************************//**
* \file slvq.h
***********************************************/
void fnSlvq (uint16_t unusedButMandatoryParameter);
void slvqCo51(void);
void slvqRe51(void);
......@@ -145,19 +145,19 @@ const int16_t menu_FCNS[] = {
const int16_t menu_CNST[] = {
5, 11, 12, 21, 36, 56,
57, 58, 139, 140, 169, 171,
205, 206, 213, 214, 216, 220,
228, 233, 234, 245, 280, 293,
333, 354, 361, 362, 363, 367,
368, 369, 371, 372, 379, 410,
411, 412, 413, 441, 482, 502,
514, 517, 537, 538, 539, 541,
544, 551, 563, 565, 617, 631,
632, 651, 702, 704, 719, 720,
721, 728, 732, 733, 734, 735,
736, 737, 738, 739, 740, 741,
742, 747, 764, 765, 776, 781,
812,
57, 58, 139, 140, 171, 205,
206, 213, 214, 216, 220, 228,
233, 234, 245, 280, 293, 333,
354, 361, 362, 363, 367, 368,
369, 371, 372, 379, 410, 411,
412, 413, 441, 482, 502, 514,
517, 537, 538, 539, 541, 544,
551, 563, 565, 617, 631, 632,
651, 702, 704, 719, 720, 721,
728, 732, 733, 734, 735, 736,
737, 738, 739, 740, 741, 742,
747, 764, 765, 776, 781, 812,
};
......
......@@ -530,6 +530,9 @@
<Unit filename="src/testSuite/sinh.txt">
<Option target="testSuite" />
</Unit>
<Unit filename="src/testSuite/slvq.txt">
<Option target="testSuite" />
</Unit>
<Unit filename="src/testSuite/square.txt">
<Option target="testSuite" />
</Unit>
......@@ -1541,6 +1544,19 @@
<Option target="testSuite" />
<Option target="generateCatalogs" />
</Unit>
<Unit filename="src/wp43s/mathematics/slvq.c">
<Option compilerVar="CC" />
<Option target="wp43s" />
<Option target="wp43s_debug" />
<Option target="generateCatalogs" />
<Option target="testSuite" />
</Unit>
<Unit filename="src/wp43s/mathematics/slvq.h">
<Option target="wp43s" />
<Option target="wp43s_debug" />
<Option target="generateCatalogs" />
<Option target="testSuite" />
</Unit>
<Unit filename="src/wp43s/mathematics/square.c">
<Option compilerVar="CC" />
<Option target="wp43s" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment