1 - NxtrMath Integration Manual

Integration Manual

For

NxtrMath

VERSION: 1

DATE: 02/18/2015

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USA

Location: The official version of this document is stored in the Nexteer Configuration Management System.

Revision History

Sl. No.DescriptionAuthorVersionDate
1Initial versionLucas Wendling102/18/15

Table of Contents

1 Abbrevations And Acronyms 4

2 References 5

3 Dependencies 6

3.1 SWCs 6

3.2 Global Functions(Non RTE) to be provided to Integration Project 6

4 Configuration REQUIREMeNTS 7

4.1 Build Time Config 7

4.2 Configuration Files to be provided by Integration Project 7

4.3 Da Vinci Parameter Configuration Changes 7

4.4 DaVinci Interrupt Configuration Changes 7

4.5 Manual Configuration Changes 7

5 Integration DATAFLOW REQUIREMENTS 8

5.1 Required Global Data Inputs 8

5.2 Required Global Data Outputs 8

5.3 Specific Include Path present 8

6 Runnable Scheduling 9

7 Memory Map REQUIREMENTS 10

7.1 Mapping 10

7.2 Usage 10

7.3 Non RTE NvM Blocks 10

7.4 RTE NvM Blocks 10

8 Compiler Settings 11

8.1 Preprocessor MACRO 11

8.2 Optimization Settings 11

9 Appendix 12

Abbrevations And Acronyms

AbbreviationDescription

References

This section lists the title & version of all the documents that are referred for development of this document

Sr. No.TitleVersion

Dependencies

SWCs

ModuleRequired Feature
NoneN/A

Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.

Global Functions(Non RTE) to be provided to Integration Project

All functions in this component are provided to the integration project, but are only used on an as-needed basis.

Configuration REQUIREMeNTS

Build Time Config

ModulesNotes
None

Configuration Files to be provided by Integration Project

<Configuration file that will generated from this components that will require Da Vinci Config generation or manual generation. Describe each parameter >

Da Vinci Parameter Configuration Changes

ParameterNotesSWC
N/A

DaVinci Interrupt Configuration Changes

ISR NameVIM #Priority DependencyNotes
N/A

Manual Configuration Changes

ConstantNotesSWC
N/A

Integration DATAFLOW REQUIREMENTS

Required Global Data Inputs

N/A

Required Global Data Outputs

N/A

Specific Include Path present

Yes

Runnable Scheduling

This section specifies the required runnable scheduling.

InitScheduling RequirementsTrigger
NoneNoneRTE/ISR(<time>ms)
RunnableScheduling RequirementsTrigger
NoneNoneRTE/ISR(<time>ms)

.

Memory Map REQUIREMENTS

Mapping

Memory SectionContentsNotes
None

* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.

Usage

FeatureRAMROM
<Memmap usuage info>

Table 1: ARM Cortex R4 Memory Usage

Non RTE NvM Blocks

Block Name
<NVM block used Non RTE functions >

Note : Size of the NVM block if configured in developer

RTE NvM Blocks

Block Name
<NVM block used in RTE functions >

Note : Size of the NVM block if configured in developer

Compiler Settings

Preprocessor MACRO

None

Optimization Settings

None

Appendix

<This section is for appendix>

2 - NxtrMath Review


Overview

Summary Sheet
Synergy Project
Source Code
PolySpace


Sheet 1: Summary Sheet
























Rev 1.28-Jun-15

Peer Review Summary Sheet


























Synergy Project Name:


kzshz2: Intended Use: Identify which component is being reviewed. This should be the Module Short Name from Synergy Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. AR100A_NxtrMath_Impl
Revision / Baseline:


kzshz2: Intended Use: Identify which Synergy revision of this component is being reviewed Rationale: Required for traceability. It will help to ensure this form is not attaced to the the wrong change request. 1.2.0

























Change Owner:


kzshz2: Intended Use: Identify the developer who made the change(s) Rationale: A change request may have more than one resolver, this will help identify who made what change. Change owner identification may be required by indusrty standards. Krishna Anne
Work CR ID:


EA4#6438





























kzshz2: Intended Use: Intended to identify at a high level to the reviewers which areas of the component have been changed. Rationale: This will be good information to know when ensuring appropriate reviews have been completed. Modified File Types:















































































































































































kzshz2: Intended Use: Identify who where the reviewers, what they reviewed, and if the reviewed changes have been approved to release the code for testing. Comments here should be at a highlevel, the specific comments should be present on the specific review form sheet. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. ADD DR Level Move reviewer and approval to individual checklist form Review Checklist Summary:






















































Reviewed:































N/AMDD


YesSource Code


YesPolySpace









































N/AIntegration Manual


N/ADavinci Files








































































Comments:

Moving sine lookup function to the Nexteer math library from SF107A.



























































































General Guidelines:
- The reviews shall be performed over the portions of the component that were modified as a result of the Change Request.
- New components should include FDD Owner and Integrator as apart of the Group Review Board (Source Code, Integration Manual, and Davinci Files)
- Enter any rework required into the comment field and select No. When the rework is complete, review again using this same review sheet and select Yes. Add date and additional comment stating that the rework is completed.
- To review a component with multiple source code files use the "Add Source" button to create a Source code tab for each source file.
- .h file should be reviewed with the source file as part of the source file.





















Sheet 2: Synergy Project

Peer Review Meeting Log (Component Synergy Project Review)



















































Quality Check Items:




































Rationale is required for all answers of No










New baseline version name from Summary Sheet follows








Yes
Comments:



naming convention





































Project contains necessary subprojects








Yes
Comments:










































Project contains the correct version of subprojects








Yes
Comments:










































Design subproject is correct version








Yes
Comments:











































General Notes / Comments:



























































LN: Intended Use: Identify who were the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. KMC: Group Review Level removed in Rev 4.0 since the design review is not checked in until approved, so it would always be DR4. Review Board:


























Change Owner:

Krishna Anne


Review Date :

07/22/16
































Lead Peer Reviewer:


Nick Saxton


Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 3: Source Code






















Rev 1.28-Jun-15
Peer Review Meeting Log (Source Code Review)

























Source File Name:


N/A

Source File Revision:


N/A
Header File Name:


NxtrMath.h

Header File Revision:


kzshz2: Intended Use: Identify which version of the source file is being review. Rationale: Required for traceability between source code and review. Auditors will likely require this. 3

























MDD Name:

N/A

Revision:
N/A

























FDD/SCIR/DSR/FDR/CM Name:




N/A

Revision:
N/A


























Quality Check Items:



































Rationale is required for all answers of No









Working EA4 Software Naming Convention followed:















































for variable names







Yes
Comments:






















Only for changes

























for constant names







Yes
Comments:






















Only for changes

























for function names







Yes
Comments:






















Only for changes

























for other names (component, memory







Yes
Comments:










mapping handles, typedefs, etc.)










Only for changes
























All paths assign a value to outputs, ensuring








N/A
Comments:









all outputs are initialized prior to being written





































Requirements Tracability tags in code match the requirements tracability in the FDD








N/A
Comments:









requirements tracability in the FDD





































All variables are declared at the function level.








Yes
Comments:






















Only for changes
Synergy version matches change history





kzshz2: Intended Use: Indicate that the the versioning was confirmed by the peer reviewer(s). Rationale: There have been many occassions where versions were not updated in files and as a result Unit Test were referencing wrong versions. This often time leads to the need to re-run of batch tests.


Yes
Comments:



and Version Control version in file comment block





































Change log contains detailed description of changes








Yes
Comments:



and Work CR number





































Code accurately implements FDD (Document or Model)








Yes
Comments:
















No FDD Currently Available
























Verified no Compiler Errors or Warnings


KMC: Intended Use: To confirm no compiler errors or warnings exist for the code under review (warnings from contract header files may be ignored). Rationale: This is needed to ensure there will be no errors discovered at the time of integration. A Sandox project should be used; QAC can find compiler errors but not warnings.





Yes
Comments:
















































Component.h is included








Yes
Comments:
























All other includes are actually needed. (System includes








Yes
Comments:









only allowed in Nexteer library components)





































Software Design and Coding Standards followed:











Version: 2.1

























Code comments are clear, correct, and adequate







Yes
Comments:










and have been updated for the change: [N40] and










Only for changes

all other rules in the same section as rule [N40],






















plus [N75], [N12], [N23], [N33], [N37], [N38],






















[N48], [N54], [N77], [N79], [N72]














































Source file (.c and .h) comment blocks are per







Yes
Comments:










standards and contain correct information: [N41], [N42]










Only for changes

























Function comment blocks are per standards and







Yes
Comments:










contain correct information: [N43]










Only for changes

























Code formatting (indentation, placement of







Yes
Comments:










braces, etc.) is per standards: [N5], [N55], [N56],










Only for changes

[N57], [N58], [N59]














































Embedded constants used per standards; no







Yes
Comments:










"magic numbers": [N12]










Only for changes

























Memory mapping for non-RTE code







N/A
Comments:










is per standard





































All execution-order-dependent code can be







N/A
Comments:










recognized by the compiler: [N80]





































All loops have termination conditions that ensure







N/A
Comments:










finite loop iterations: [N63]





































All divides protect against divide by zero







N/A
Comments:










if needed: [N65]










N/A for changes

























All integer division and modulus operations







N/A
Comments:










handle negative numbers correctly: [N76]










N/A for changes

























All typecasting and fixed point arithmetic,







Yes
Comments:










including all use of fixed point macros and













timer functions, is correct and has no possibility






















of unintended overflow or underflow: [N66]














































All float-to-unsiged conversions ensure the.







Yes
Comments:










float value is non-negative: [N67]










Only for changes

























All conversions between signed and unsigned







N/A
Comments:










types handle msb==1 as intended: [N78]










N/A for changes

























All pointer dereferencing protects against







Yes
Comments:










null pointer if needed: [N70]










Only for changes

























Component outputs are limited to the legal range







N/A
Comments:










defined in the FDD DataDict.m file : [N53]










Only for changes

























All code is mapped with FDD (all FDD







N/A
Comments:










subfunctions and/or model blocks identified










No FDD exists

with code comments; all code corresponds to






















some FDD subfunction and/or model block): [N40]













































Review did not identify violations of other








Yes
Comments:









coding standard rules





































Anomaly or Design Work CR created








No
Comments: List Anomaly or CR numbers









for any FDD corrections needed































































General Notes / Comments:

















































































LN: Intended Use: Identify who were the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. KMC: Group Review Level removed in Rev 4.0 since the design review is not checked in until approved, so it would always be DR4. Review Board:


























Change Owner:

Krishna Anne


Review Date :

07/22/16
































Lead Peer Reviewer:


Nick Saxton


Approved by Reviewer(s):



Yes































Other Reviewer(s):










































































Sheet 4: PolySpace






















Rev 1.28-Jun-15
Peer Review Meeting Log (QAC/PolySpace Review)


























Source File Name:


NxtrMath.h




Source File Revision:


3

Source File Name:















Source File Revision:





Source File Name:















Source File Revision:






























EA4 Static Analysis Compliance Guideline version:







01.01.00









Poly Space version:


Windows User: eg. 2013b 2013b
Polyspace sub project version:




Windows User: eg. TL108a_PolyspaceSuprt_1.0.0 N/A

QAC version:


Windows User: eg 8.1.1-R 8.1.1-R
QAC sub project version:




Windows User: eg. TL_100A_1.1.0 1.1.0


























Quality Check Items:




































Rationale is required for all answers of No



































Contract Folder's header files are appropriate and





kzshz2: Intended Use: Identify that the contract folder contains only the information required for this component. All other variables, constants, function prototypes, etc. should be removed. Rationale: This will help avoid unit testers having to considers object not used. It will also avoid having other files required for QAC.


Yes
Comments:




function prototypes match the latest component version







































100% Compliance to the EA4 Static AnalysisYes
Comments:





Compliance Guideline





























Are previously added justification and deviation








Yes
Comments:





comments still appropriate






































Do all MISRA deviation comments use approved








Yes
Comments:





deviation tags






































Cyclomatic complexity and Static path count OK






Creager, Kathleen: use Browse Function Metrics, STCYC and STPTH

Yes
Comments:





for all functions in the component per Design










Found cyclomatic complexity 16 for SinCos_f32() function











and Coding Standards rule [N47]

































































































General Notes / Comments:



























































LN: Intended Use: Identify who were the reviewers and if the reviewed changes have been approved. Rationale: Since this Form will be attached to the Change Request it will confirm the approval and provides feedback in case of audits. KMC: Group Review Level removed in Rev 4.0 since the design review is not checked in until approved, so it would always be DR4. Review Board:


























Change Owner:

Krishna Anne


Review Date :

07/22/16
































Lead Peer Reviewer:


Nick Saxton


Approved by Reviewer(s):



Yes































Other Reviewer(s):









































































3 - Optimized SinCos Algorithm Rev 001

Optimized SinCos Algorithm

  1. Background:

The following diagram is an overview of the operations that are performed during digital motor angle initialization to compute their correction tables.

Generate Reconstructed Waveform Pseudo Code:

for n = 0 to 128 // size of correction table

$ReconstructedWaveform\lbrack n\rbrack \cong \sum_{i = 1}^{12}{Acoeff\lbrack i\rbrack*\cos\left( \frac{n*2pi*i}{127} \right) +}Bcoeff\lbrack i\rbrack*\sin\left( \frac{n*2pi*i}{127} \right)$

As shown in the pseudo code there is several calls to the sine and cosine function (128 * 12). Furthermore, the algorithm requires both the sine and cosine of the same angle. During benchmarking activities the following algorithm was developed and shown to have significant time improvements (~= 5.5 mSec vs ~= 2.4 mSec) over the standard sine and cosine library functions.

  1. Sine and Cosine as Taylor Series:

$$Sin(x) = x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!} - \frac{x^{7}}{7!}\ldots$$

$$Cos(x) = 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!} - \frac{x^{5}}{5!}\ldots$$

  1. Range Reduction:

Although the Taylor Series for sine and cosine are exact it technically takes an infinite number of terms. The purpose of limiting the value of x into the Taylor Series is so that it doesn’t take many terms before the factorial in the denominator dwarfs the numerator. To limit the input range of x the following identity is used:

Sin(A+B) = Sin(A)Cos(B) + Sin(B)Cos(A)

For reasons that will be discussed later B will be declared as 22.5n, where n is an integer between 0 and 15. Using this technique the largest x input into the Taylor Series will be +/- 11.25 Degrees (0.1963 Radians).

Now that the maximum input value of x has been established it is possible to determine the number of terms in the Taylor Series that are required to achieve acceptable levels of accuracy.

# of TermsSin(x)Sin(x) Max ErrorCos(x)Cos(x) Max Error
1Sin(x) = x0.001259Cos(x) = 10.0192
2$$Sin(x) = x - \frac{x^{3}}{3!}$$2.4297E-6$$Cos(x) = 1 - \frac{x^{2}}{2!}$$6.18515E-5
3$$Sin(x) = x - \frac{x^{3}}{3!} + \frac{x^{5}}{5!}$$2.2312E-9$$Cos(x) = 1 - \frac{x^{2}}{2!} + \frac{x^{4}}{4!}$$7.953E-8

As the table above shows an acceptable level of accuracy can be achieved with only 2 terms in the sine and cosine Taylor Series once the input has been range limited to +/- 11.25 degrees.

  1. Algorithm:

Calculate n & B:

As shown before, n is the largest integer that satisfies: 22.5n < x. This can be performed using integer math where:

$$n = floor\left( \frac{x*8}{\pi} \right):where\frac{8}{\pi}Radians = 22.5\ Degrees$$

The above equation will leave a remainder that ranges from 0 to 22.5 degrees. By adding in a 0.5 term the result will round up leaving a remainder with the desired range of +/- 11.25 Degrees. Therefore n is calculated as:

$$n = floor\left( \frac{x*8}{\pi} + 0.5 \right)$$

The B term is a simple multiple of n:

$$B = \frac{\pi}{8}*n$$

Determine A:

The A term is the effective remainder of the input angle x minus the B term.

A = x − B

Compute Sin(A) & Cos(A):

Once input x has been range limited into A the term limited Taylor Series of sine and cosine can be computed:

$$Sin(A) = A - \frac{A^{3}}{3!}$$

$$Cos(A) = 1 - \frac{A^{2}}{2!}$$

Compute Sin(x):

Now that Sin(A) & Cos(A) have been determined they can be combined with Sin(B) & Cos(B) to determine Sin(x). The B term is a function of n, which was earlier stated to be a multiple of 22.5 degrees of which there are 16 per revolution. Input x is has no theoretical bound but determining Sin(B) & Cos(B) can be simplified by normalizing n into a single revolution. With n having 16 steps per revolution the normalization is a simple bit mask.

nnrml = n & 0xF

With normalized n determined it can be used as an index into a switch case statement to determine Sin(x)

Switch (n_nrml)

Case 0:

Sinx = Sin(A)Cos(22.5 * 0) + Sin(22.5 * 0)Cos(A)

Case 1:

Sinx = Sin(A)Cos(22.5 * 1) + Sin(22.5 * 1)Cos(A)

Case 2:

Sinx = Sin(A)Cos(22.5 * 2) + Sin(22.5 * 2)Cos(A)

Case 3:

Sinx = Sin(A)Cos(22.5 * 3) + Sin(22.5 * 3)Cos(A)

Case 4:

Sinx = Sin(A)Cos(22.5 * 4) + Sin(22.5 * 4)Cos(A)

Case 5:

Sinx = Sin(A)Cos(22.5 * 5) + Sin(22.5 * 5)Cos(A)

Case 6:

Sinx = Sin(A)Cos(22.5 * 6) + Sin(22.5 * 6)Cos(A)

Case 7:

Sinx = Sin(A)Cos(22.5 * 7) + Sin(22.5 * 7)Cos(A)

Case 8:

Sinx = Sin(A)Cos(22.5 * 8) + Sin(22.5 * 8)Cos(A)

Case 9:

Sinx = Sin(A)Cos(22.5 * 9) + Sin(22.5 * 9)Cos(A)

Case 10:

Sinx = Sin(A)Cos(22.5 * 10) + Sin(22.5 * 10)Cos(A)

Case 11:

Sinx = Sin(A)Cos(22.5 * 11) + Sin(22.5 * 11)Cos(A)

Case 12:

Sinx = Sin(A)Cos(22.5 * 12) + Sin(22.5 * 12)Cos(A)

Case 13:

Sinx = Sin(A)Cos(22.5 * 13) + Sin(22.5 * 13)Cos(A)

Case 14:

Sinx = Sin(A)Cos(22.5 * 14) + Sin(22.5 * 14)Cos(A)

Case 15:

Sinx = Sin(A)Cos(22.5 * 15) + Sin(22.5 * 15)Cos(A)

The Sin(B) & Cos(B) terms above can be simplified due to their symmetrical nature into 3 predefined constants:

Sin(22.5) = Cos(67.5) = 0.38263

Sin(45.0) = Cos(45.0) = 0.70710

Sin(67.5) = Cos(22.5) = 0.92387

Cos(x) for Free (almost):

The previous calculation computed Sin(x) as a function of Sin(A), Cos(A), Sin(B) & Cos(B). As it turns out cosine has a similar trig identity that uses the exact same terms.

Cos(A+B) = Cos(A)Cos(B) − Sin(A)Sin(B)

The switch case can be modified to simultaneously be used to return the sine and cosine of the same angle at the same time:

Switch (n_nrml)

Case 0:

Sinx = Sin(A)Cos(22.5 * 0) + Sin(22.5 * 0)Cos(A)

Cosx = Cos(A)Cos(22.5 * 0) + Sin(A) Sin(22.5 * 0)

Case 1:

Sinx = Sin(A)Cos(22.5 * 1) + Sin(22.5 * 1)Cos(A)

Cosx = Cos(A)Cos(22.5 * 1) + Sin(A) Sin(22.5 * 1)

Case 2:

Sinx = Sin(A)Cos(22.5 * 2) + Sin(22.5 * 2)Cos(A)

Cosx = Cos(A)Cos(22.5 * 2) + Sin(A) Sin(22.5 * 2)

Case 3:

Sinx = Sin(A)Cos(22.5 * 3) + Sin(22.5 * 3)Cos(A)

Cosx = Cos(A)Cos(22.5 * 3) + Sin(A) Sin(22.5 * 3)

Case 4:

Sinx = Sin(A)Cos(22.5 * 4) + Sin(22.5 * 4)Cos(A)

Cosx = Cos(A)Cos(22.5 * 4) + Sin(A) Sin(22.5 * 4)

Case 5:

Sinx = Sin(A)Cos(22.5 * 5) + Sin(22.5 * 5)Cos(A)

Cosx = Cos(A)Cos(22.5 * 5) + Sin(A) Sin(22.5 * 5)

Case 6:

Sinx = Sin(A)Cos(22.5 * 6) + Sin(22.5 * 6)Cos(A)

Cosx = Cos(A)Cos(22.5 * 6) + Sin(A) Sin(22.5 * 6)

Case 7:

Sinx = Sin(A)Cos(22.5 * 7) + Sin(22.5 * 7)Cos(A)

Cosx = Cos(A)Cos(22.5 * 7) + Sin(A) Sin(22.5 * 7)

Case 8:

Sinx = Sin(A)Cos(22.5 * 8) + Sin(22.5 * 8)Cos(A)

Cosx = Cos(A)Cos(22.5 * 8) + Sin(A) Sin(22.5 * 8)

Case 9:

Sinx = Sin(A)Cos(22.5 * 9) + Sin(22.5 * 9)Cos(A)

Cosx = Cos(A)Cos(22.5 * 9) + Sin(A) Sin(22.5 * 9)

Case 10:

Sinx = Sin(A)Cos(22.5 * 10) + Sin(22.5 * 10)Cos(A)

Cosx = Cos(A)Cos(22.5 * 10) + Sin(A) Sin(22.5 *10)

Case 11:

Sinx = Sin(A)Cos(22.5 * 11) + Sin(22.5 * 11)Cos(A)

Cosx = Cos(A)Cos(22.5 * 11) + Sin(A) Sin(22.5 * 11)

Case 12:

Sinx = Sin(A)Cos(22.5 * 12) + Sin(22.5 * 12)Cos(A)

Cosx = Cos(A)Cos(22.5 * 12) + Sin(A) Sin(22.5 * 12)

Case 13:

Sinx = Sin(A)Cos(22.5 * 13) + Sin(22.5 * 13)Cos(A)

Cosx = Cos(A)Cos(22.5 * 13) + Sin(A) Sin(22.5 * 13)

Case 14:

Sinx = Sin(A)Cos(22.5 * 14) + Sin(22.5 * 14)Cos(A)

Cosx = Cos(A)Cos(22.5 * 14) + Sin(A) Sin(22.5 * 14)

Case 15:

Sinx = Sin(A)Cos(22.5 * 15) + Sin(22.5 * 15)Cos(A)

Cosx = Cos(A)Cos(22.5 * 15) + Sin(A) Sin(22.5 * 15)

  1. Performance:

The following graph shows the output and error of the algorithm. The maximum errors for sine and cosine are:

SinErrorMax = 6.1799e-05

CosErrorMax = 6.1618e-05

  1. Matlab Code:

%% Optimized SinCos Algorithm

ArraySize = uint16(100000);

PiOverEight = pi/8;

EightOverPi = 8/pi;

sin225 = sin(22.5/180*pi);

sin450 = sin(45.0/180*pi);

sin675 = sin(67.5/180*pi);

x = linspace(-2*pi, 2*pi,ArraySize)';

SinX = zeros(ArraySize,1);

CosX = zeros(ArraySize,1);

n = int16(floor(x * EightOverPi + 0.5));

A = (x - double(n) * PiOverEight);

SinA = A - (A.^3)/6;%+(A.^5)/120;

CosA = 1 - (A.^2)/2;%+(A.^4)/24;

n_nrml = bitand(n,15);

for i = 1:ArraySize

switch n_nrml(i)

case 0

SinX(i) = SinA(i);

CosX(i) = CosA(i);

case 1

SinX(i) = sin675 * SinA(i) + sin225 * CosA(i);

CosX(i) = -sin225 * SinA(i) + sin675 * CosA(i);

case 2

SinX(i) = sin450 * SinA(i) + sin450 * CosA(i);

CosX(i) = -sin450 * SinA(i) + sin450 * CosA(i);

case 3

SinX(i) = sin225 * SinA(i) + sin675 * CosA(i);

CosX(i) = -sin675 * SinA(i) + sin225 * CosA(i);

case 4

SinX(i) = CosA(i);

CosX(i) = -SinA(i);

case 5

SinX(i) = -sin225 * SinA(i) + sin675 * CosA(i);

CosX(i) = -sin675 * SinA(i) + -sin225 * CosA(i);

case 6

SinX(i) = -sin450 * SinA(i) + sin450 * CosA(i);

CosX(i) = -sin450 * SinA(i) + -sin450 * CosA(i);

case 7

SinX(i) = -sin675 * SinA(i) + sin225 * CosA(i);

CosX(i) = -sin225 * SinA(i) + -sin675 * CosA(i);

case 8

SinX(i) = -SinA(i);

CosX(i) = -CosA(i);

case 9

SinX(i) = -sin675 * SinA(i) + -sin225 * CosA(i);

CosX(i) = sin225 * SinA(i) + -sin675 * CosA(i);

case 10

SinX(i) = -sin450 * SinA(i) + -sin450 * CosA(i);

CosX(i) = sin450 * SinA(i) + -sin450 * CosA(i);

case 11

SinX(i) = -sin225 * SinA(i) + -sin675 * CosA(i);

CosX(i) = sin675 * SinA(i) + -sin225 * CosA(i);

case 12

SinX(i) = -CosA(i);

CosX(i) = SinA(i);

case 13

SinX(i) = sin225 * SinA(i) + -sin675 * CosA(i);

CosX(i) = sin675 * SinA(i) + sin225 * CosA(i);

case 14

SinX(i) = sin450 * SinA(i) + -sin450 * CosA(i);

CosX(i) = sin450 * SinA(i) + sin450 * CosA(i);

case 15

SinX(i) = sin675 * SinA(i) + -sin225 * CosA(i);

CosX(i) = sin225 * SinA(i) + sin675 * CosA(i);

end

end

SinError = sin(x) - SinX;

CosError = cos(x) - CosX;

SinErrorMax = max(SinError)

CosErrorMax = max(CosError)

subplot(2,2,1) % first subplot

plot(x*180/pi,SinX)

title('Sin(x)')

xlabel('Angle (Degrees)')

ylabel('Sin(x) (Unitless)')

subplot(2,2,2) % second subplot

plot(x*180/pi,CosX)

title('Cos(x)')

xlabel('Angle (Degrees)')

ylabel('Cos(x) (Unitless)')

subplot(2,2,3) % third subplot

plot(x*180/pi,SinError)

title('Sin(x) Error')

xlabel('Angle (Degrees)')

ylabel('Sin(x) Error (Unitless)')

subplot(2,2,4) % fourth subplot

plot(x*180/pi,CosError)

title('Cos(x) Error')

xlabel('Angle (Degrees)')

ylabel('Cos(x) Error (Unitless)')

4 - SinCos_f32()_Simulation


Overview

Error_Analysis
Timing_Analysis


Sheet 1: Error_Analysis


Note: Simulation was run in an actual RENESAS uController on a T1XX board.







































Angle_degSineAngle_degCosineAngle_degError/SineAngle_degError/Cosine
-450-1-4504.77E-07-4505.96E-08-4502.72E-07
-449-0.999848-4490.0174528-4495.96E-08-449-1.43E-07
-448-0.999391-4480.0348998-4480-4481.86E-07
-447-0.998629-4470.0523361-447-2.98E-07-447-2.27E-07
-446-0.997563-4460.069757-446-9.54E-07-446-3.58E-07
-445-0.996192-4450.0871562-445-2.38E-06-4457.45E-09
-444-0.994517-4440.104529-444-4.95E-06-4443.95E-07
-443-0.992537-4430.121869-443-9.24E-06-4439.69E-08
-442-0.990252-4420.139173-442-1.58E-05-4426.41E-07
-441-0.987663-4410.156434-441-2.53E-05-4418.49E-07
-440-0.984769-4400.173647-440-3.87E-05-4401.01E-06
-439-0.981571-4390.190807-439-5.65E-05-4392.15E-06
-438-0.978104-4380.207895-438-4.39E-05-4381.68E-05
-437-0.97434-4370.22494-437-2.94E-05-4371.14E-05
-436-0.970277-4360.241915-436-1.90E-05-4367.11E-06
-435-0.965914-4350.258815-435-1.14E-05-4354.62E-06















-434-0.961255-4340.275635-434-6.50E-06-4342.35E-06
-433-0.956301-4330.29237-433-3.22E-06-4331.43E-06
-432-0.951055-4320.309017-432-1.49E-06-4325.96E-07
-431-0.945518-4310.325568-431-4.77E-07-4315.66E-07
-430-0.939692-4300.34202-430-1.79E-07-4300
-429-0.93358-4290.358368-4291.19E-07-4292.38E-07
-428-0.927184-4280.374607-428-5.96E-08-428-1.49E-07
-427-0.920505-4270.390732-4271.79E-07-4274.17E-07
-426-0.913545-4260.406737-426-5.96E-08-4265.96E-08
-425-0.906308-4250.422618-4250-4253.87E-07
-424-0.898793-4240.438371-424-5.96E-07-4242.09E-07
-423-0.891005-4230.45399-423-1.31E-06-4238.64E-07
-422-0.882944-4220.469471-422-3.22E-06-4221.55E-06
-421-0.874613-4210.484807-421-6.08E-06-4213.22E-06
-420-0.866014-4200.499995-420-1.11E-05-4205.07E-06
-419-0.857149-4190.51503-419-1.82E-05-4198.58E-06
-418-0.848019-4180.529906-418-2.87E-05-4181.29E-05















-417-0.838628-4170.54462-417-4.28E-05-4171.94E-05















-416-0.828996-4160.559155-416-4.12E-05-4163.87E-05















-415-0.819124-4150.57355-415-2.79E-05-4152.69E-05















-414-0.808999-4140.587768-414-1.84E-05-4141.76E-05















-413-0.798624-4130.601804-413-1.11E-05-4131.14E-05















-412-0.788004-4120.615655-412-6.50E-06-4126.74E-06















-411-0.777142-4110.629317-411-3.58E-06-4113.46E-06















-410-0.766043-4100.642786-410-1.49E-06-4101.97E-06















-409-0.754709-4090.656058-409-7.75E-07-4097.15E-07















-408-0.743144-4080.669131-4081.19E-07-4086.56E-07















-407-0.731354-4070.681998-4070-4071.19E-07















-406-0.71934-4060.694658-4063.58E-07-4063.58E-07















-405-0.707107-4050.707107-4055.96E-08-4055.96E-08















-404-0.694658-4040.71934-4041.79E-07-4042.38E-07















-403-0.681998-4030.731354-4031.19E-07-4031.19E-07















-402-0.66913-4020.743145-4021.79E-07-4025.96E-07















-401-0.656058-4010.754709-401-7.15E-07-4017.75E-07















-400-0.642786-4000.766043-400-1.43E-06-4001.97E-06















-399-0.629317-3990.777142-399-3.46E-06-3993.58E-06















-398-0.615655-3980.788004-398-5.96E-06-3987.09E-06















-397-0.601804-3970.798624-397-1.08E-05-3971.16E-05















-396-0.587768-3960.808999-396-1.70E-05-3961.88E-05















-395-0.57355-3950.819124-395-2.63E-05-3952.83E-05















-394-0.559155-3940.828996-394-3.81E-05-3944.17E-05















-393-0.544619-3930.838628-393-1.97E-05-3934.27E-05















-392-0.529906-3920.84802-392-1.34E-05-3922.84E-05















-391-0.515029-3910.857149-391-8.34E-06-3911.84E-05















-390-0.499995-3900.866014-390-4.86E-06-3901.13E-05















-389-0.484807-3890.874613-389-2.98E-06-3896.26E-06















-388-0.46947-3880.882945-388-1.70E-06-3883.04E-06















-387-0.453989-3870.891005-387-6.85E-07-3871.49E-06















-386-0.438371-3860.898794-386-6.56E-07-3862.98E-07















-385-0.422618-3850.906308-385-1.79E-07-3851.19E-07















-384-0.406736-3840.913545-3841.79E-07-3841.19E-07















-383-0.390731-3830.920505-3835.96E-08-3835.96E-08















-382-0.374606-3820.927184-382-2.98E-07-382-1.19E-07















-381-0.358368-3810.933581-381-2.98E-08-3815.96E-08















-380-0.34202-3800.939693-380-4.47E-07-3800















-379-0.325567-3790.945518-379-2.98E-08-3795.96E-07















-378-0.309016-3780.951055-378-8.05E-07-3781.43E-06















-377-0.29237-3770.956302-377-1.19E-06-3773.34E-06















-376-0.275635-3760.961255-376-2.80E-06-3766.38E-06















-375-0.258814-3750.965914-375-4.35E-06-3751.14E-05















-374-0.241914-3740.970277-374-7.26E-06-3741.88E-05















-373-0.224939-3730.974341-373-1.09E-05-3732.96E-05















-372-0.207895-3720.978104-372-1.66E-05-3724.40E-05















-371-0.190807-3710.981571-371-1.88E-06-3715.66E-05















-370-0.173647-3700.984769-370-1.48E-06-3703.86E-05















-369-0.156433-3690.987663-369-1.06E-06-3692.53E-05















-368-0.139172-3680.990252-368-3.73E-07-3681.59E-05















-367-0.121869-3670.992537-3671.64E-07-3679.30E-06















-366-0.104528-3660.994517-366-1.27E-07-3664.95E-06















-365-0.0871557-3650.996192-3652.68E-07-3652.38E-06















-364-0.0697561-3640.997563-3641.56E-07-3649.54E-07















-363-0.0523357-3630.998629-363-2.50E-07-3632.98E-07















-362-0.0348993-3620.999391-3628.57E-08-3620















-361-0.0174523-3610.999848-3614.15E-07-361-5.96E-08















-3600-3601-3600-360-5.96E-08















-3590.0174528-3590.999848-3592.31E-07-359-5.96E-08















-3580.0348998-3580.999391-3581.86E-07-3580















-3570.0523361-3570.998629-3571.49E-07-3572.38E-07















-3560.0697565-3560.997563-3561.12E-07-3568.94E-07















-3550.0871562-3550.996192-3557.45E-09-3552.38E-06















-3540.104529-3540.994517-3542.24E-08-3544.95E-06















-3530.121869-3530.992537-3534.69E-07-3539.18E-06















-3520.139173-3520.990252-3526.41E-07-3521.58E-05















-3510.156434-3510.987663-3519.54E-07-3512.53E-05















-3500.173647-3500.984769-3501.37E-06-3503.86E-05















-3490.190807-3490.981571-3492.15E-06-3495.65E-05















-3480.207895-3480.978104-3481.65E-05-3484.40E-05















-3470.22494-3470.974341-3471.11E-05-3472.94E-05















-3460.241915-3460.970277-3467.57E-06-3461.88E-05















-3450.258815-3450.965914-3454.62E-06-3451.14E-05















-3440.275635-3440.961255-3442.71E-06-3446.44E-06















-3430.29237-3430.956301-3431.43E-06-3433.22E-06















-3420.309016-3420.951055-3427.15E-07-3421.43E-06















-3410.325568-3410.945518-3412.98E-07-3415.36E-07















-3400.34202-3400.939692-3403.58E-07-3405.96E-08















-3390.358368-3390.93358-3392.38E-07-339-1.19E-07















-3380.374607-3380.927184-3382.09E-07-338-5.96E-08















-3370.390731-3370.920505-3371.79E-07-337-5.96E-08















-3360.406736-3360.913545-3361.49E-07-336-5.96E-08















-3350.422618-3350.906308-3353.87E-07-3350















-3340.438371-3340.898793-3345.36E-07-3344.17E-07















-3330.45399-3330.891005-3338.64E-07-3331.31E-06















-3320.46947-3320.882944-3321.64E-06-3323.16E-06















-3310.484807-3310.874613-3312.98E-06-3316.26E-06















-3300.499995-3300.866014-3305.07E-06-3301.11E-05















-3290.51503-3290.857149-3298.58E-06-3291.82E-05















-3280.529906-3280.848019-3281.33E-05-3282.84E-05















-3270.544619-3270.838628-3271.98E-05-3274.24E-05















-3260.559155-3260.828996-3263.83E-05-3264.15E-05















-3250.573551-3250.819123-3252.62E-05-3252.84E-05















-3240.587768-3240.808998-3241.72E-05-3241.87E-05















-3230.601804-3230.798624-3231.10E-05-3231.14E-05















-3220.615655-3220.788004-3226.44E-06-3226.74E-06















-3210.629317-3210.777142-3213.34E-06-3213.70E-06















-3200.642786-3200.766042-3201.55E-06-3201.79E-06















-3190.656059-3190.754709-3195.96E-07-3198.94E-07















-3180.669131-3180.743144-3181.19E-07-3183.58E-07















-3170.681998-3170.731354-317-1.79E-07-3172.38E-07















-3160.694659-3160.719339-3160-3160















-3150.707107-3150.707106-315-1.79E-07-3151.19E-07















-3140.71934-3140.694658-314-5.96E-08-3141.19E-07















-3130.731354-3130.681998-313-1.19E-07-3131.79E-07















-3120.743145-3120.66913-3125.96E-08-3124.17E-07















-3110.754709-3110.656058-3117.75E-07-3117.75E-07















-3100.766043-3100.642786-3101.73E-06-3101.79E-06















-3090.777143-3090.629317-3093.52E-06-3093.58E-06















-3080.788004-3080.615655-3086.62E-06-3086.56E-06















-3070.798624-3070.601804-3071.14E-05-3071.11E-05















-3060.808999-3060.587767-3061.85E-05-3061.73E-05















-3050.819124-3050.57355-3052.83E-05-3052.63E-05















-3040.828996-3040.559154-3044.14E-05-3043.85E-05















-3030.838628-3030.544619-3034.27E-05-3031.95E-05















-3020.848019-3020.529906-3022.87E-05-3021.29E-05















-3010.857149-3010.515029-3011.84E-05-3018.34E-06















-3000.866014-3000.499995-3001.11E-05-3005.16E-06















-2990.874613-2990.484807-2996.44E-06-2992.65E-06















-2980.882944-2980.46947-2983.28E-06-2981.28E-06















-2970.891005-2970.453989-2971.49E-06-2976.85E-07















-2960.898794-2960.438371-2964.77E-07-2962.68E-07















-2950.906308-2950.422618-2951.19E-07-2951.79E-07















-2940.913545-2940.406736-294-5.96E-08-2941.49E-07















-2930.920505-2930.390731-2935.96E-08-293-1.79E-07















-2920.927184-2920.374606-2925.96E-08-292-2.98E-08















-2910.933581-2910.358368-2915.96E-08-2912.98E-08















-2900.939693-2900.34202-2901.19E-07-2901.19E-07















-2890.945518-2890.325568-2895.36E-07-2892.98E-07















-2880.951055-2880.309016-2881.43E-06-2887.15E-07















-2870.956302-2870.29237-2873.34E-06-2871.19E-06















-2860.961255-2860.275635-2866.50E-06-2862.44E-06















-2850.965914-2850.258814-2851.14E-05-2854.35E-06















-2840.970277-2840.241915-2841.88E-05-2847.20E-06















-2830.974341-2830.22494-2832.94E-05-2831.11E-05















-2820.978104-2820.207895-2824.40E-05-2821.62E-05















-2810.981571-2810.190807-2815.66E-05-2811.88E-06















-2800.984769-2800.173647-2803.87E-05-2801.10E-06















-2790.987663-2790.156434-2792.54E-05-2795.96E-07















-2780.990252-2780.139173-2781.59E-05-2782.68E-07















-2770.992537-2770.121869-2779.24E-06-2772.09E-07















-2760.994517-2760.104528-2765.01E-06-276-2.46E-07















-2750.996192-2750.0871557-2752.38E-06-275-2.68E-07















-2740.997563-2740.0697565-2749.54E-07-274-2.61E-07















-2730.998629-2730.0523361-2732.98E-07-273-2.27E-07















-2720.999391-2720.0348993-2720-272-8.57E-08















-2710.999848-2710.0174523-271-5.96E-08-271-4.10E-08















-2701-2700-270-5.96E-08-2700















-2690.999848-269-0.0174523-269-5.96E-08-269-3.33E-07















-2680.999391-268-0.0348998-2680-268-1.86E-07















-2670.998629-267-0.0523361-2672.38E-07-267-1.49E-07















-2660.997563-266-0.0697565-2668.94E-07-266-1.12E-07















-2650.996192-265-0.0871557-2652.38E-06-265-1.04E-07















-2640.994517-264-0.104528-2644.95E-06-264-1.27E-07















-2630.992537-263-0.121869-2639.18E-06-263-4.69E-07















-2620.990252-262-0.139173-2621.58E-05-262-6.41E-07















-2610.987663-261-0.156434-2612.53E-05-261-9.54E-07















-2600.984769-260-0.173647-2603.86E-05-260-1.48E-06















-2590.981571-259-0.190807-2595.65E-05-259-2.25E-06















-2580.978103-258-0.207896-2584.40E-05-258-1.64E-05















-2570.97434-257-0.22494-2572.94E-05-257-1.10E-05















-2560.970277-256-0.241915-2561.90E-05-256-7.11E-06















-2550.965914-255-0.258815-2551.15E-05-255-4.23E-06















-2540.961255-254-0.275635-2546.50E-06-254-2.35E-06















-2530.956301-253-0.292371-2533.34E-06-253-1.01E-06















-2520.951055-252-0.309017-2521.49E-06-252-5.96E-07















-2510.945518-251-0.325568-2515.96E-07-251-1.79E-07















-2500.939692-250-0.34202-2501.79E-07-2500















-2490.93358-249-0.358368-2490-2491.19E-07















-2480.927184-248-0.374607-2481.19E-07-2482.38E-07















-2470.920505-247-0.390732-2471.19E-07-2472.68E-07















-2460.913545-246-0.406737-2465.96E-08-246-5.96E-08















-2450.906308-245-0.422618-2451.79E-07-245-5.96E-08















-2440.898793-244-0.438371-2445.96E-07-244-2.09E-07















-2430.891005-243-0.45399-2431.55E-06-243-4.77E-07















-2420.882944-242-0.469471-2423.40E-06-242-1.22E-06















-2410.874613-241-0.484807-2416.50E-06-241-2.53E-06















-2400.866014-240-0.499995-2401.13E-05-240-4.74E-06















-2390.857149-239-0.51503-2391.84E-05-239-8.17E-06















-2380.848019-238-0.529907-2382.87E-05-238-1.29E-05















-2370.838628-237-0.54462-2374.28E-05-237-1.94E-05















-2360.828996-236-0.559155-2364.15E-05-236-3.84E-05















-2350.819124-235-0.57355-2352.83E-05-235-2.63E-05















-2340.808998-234-0.587768-2341.84E-05-234-1.75E-05















-2330.798624-233-0.601804-2331.14E-05-233-1.10E-05















-2320.788004-232-0.615655-2326.74E-06-232-6.44E-06















-2310.777142-231-0.629317-2313.58E-06-231-3.46E-06















-2300.766043-230-0.642786-2301.73E-06-230-1.73E-06















-2290.754709-229-0.656058-2297.15E-07-229-7.75E-07















-2280.743144-228-0.669131-2281.19E-07-228-4.17E-07















-2270.731354-227-0.681998-2270-227-1.19E-07















-2260.71934-226-0.694658-226-5.96E-08-226-1.19E-07















-2250.707107-225-0.707107-225-5.96E-08-2250















-2240.694658-224-0.71934-224-5.96E-08-224-1.19E-07















-2230.681998-223-0.731354-2231.79E-07-2231.19E-07















-2220.66913-222-0.743145-2221.19E-07-222-3.58E-07















-2210.656058-221-0.754709-2217.15E-07-221-7.75E-07















-2200.642786-220-0.766043-2201.85E-06-220-1.61E-06















-2190.629317-219-0.777142-2193.40E-06-219-3.70E-06















-2180.615655-218-0.788004-2186.56E-06-218-6.62E-06















-2170.601804-217-0.798624-2171.11E-05-217-1.14E-05















-2160.587768-216-0.808999-2161.75E-05-216-1.84E-05















-2150.57355-215-0.819124-2152.65E-05-215-2.81E-05















-2140.559154-214-0.828996-2143.86E-05-214-4.14E-05















-2130.544619-213-0.838628-2131.95E-05-213-4.27E-05















-2120.529906-212-0.848019-2121.29E-05-212-2.87E-05















-2110.51503-211-0.857149-2118.17E-06-211-1.84E-05















-2100.499995-210-0.866014-2104.92E-06-210-1.11E-05















-2090.484807-209-0.874613-2092.74E-06-209-6.32E-06















-2080.46947-208-0.882944-2081.28E-06-208-3.28E-06















-2070.45399-207-0.891005-2075.66E-07-207-1.49E-06















-2060.438371-206-0.898794-2062.98E-08-206-6.56E-07















-2050.422618-205-0.906308-205-5.96E-08-205-1.79E-07















-2040.406736-204-0.913545-204-1.79E-07-204-1.19E-07















-2030.390731-203-0.920505-203-1.79E-07-203-5.96E-08















-2020.374607-202-0.927184-202-1.49E-07-202-5.96E-08















-2010.358368-201-0.93358-201-1.79E-07-201-1.79E-07















-2000.34202-200-0.939692-200-8.94E-08-200-2.38E-07















-1990.325568-199-0.945518-199-5.96E-08-199-6.56E-07















-1980.309016-198-0.951055-1983.58E-07-198-1.55E-06















-1970.29237-197-0.956301-1971.07E-06-197-3.34E-06















-1960.275635-196-0.961255-1962.59E-06-196-6.44E-06















-1950.258815-195-0.965914-1954.11E-06-195-1.15E-05















-1940.241915-194-0.970277-1947.20E-06-194-1.88E-05















-1930.22494-193-0.974341-1931.11E-05-193-2.94E-05















-1920.207895-192-0.978104-1921.61E-05-192-4.41E-05















-1910.190807-191-0.981571-1912.25E-06-191-5.65E-05















-1900.173647-190-0.984769-1901.48E-06-190-3.86E-05















-1890.156433-189-0.987663-1898.34E-07-189-2.53E-05















-1880.139173-188-0.990252-1885.07E-07-188-1.58E-05















-1870.121869-187-0.992537-1872.09E-07-187-9.24E-06















-1860.104528-186-0.994517-1861.27E-07-186-4.95E-06















-1850.0871557-185-0.996192-1851.04E-07-185-2.38E-06















-1840.0697563-184-0.997563-184-2.24E-08-184-9.54E-07















-1830.0523359-183-0.998629-1831.12E-08-183-2.98E-07















-1820.0348993-182-0.999391-182-8.57E-08-1820















-1810.0174523-181-0.999848-181-4.10E-08-1815.96E-08















-1800-180-1-1800-1805.96E-08















-179-0.0174525-179-0.999848-179-9.50E-08-1795.96E-08















-178-0.0348995-178-0.999391-178-5.22E-08-1780















-177-0.0523361-177-0.998629-1773.73E-08-177-2.38E-07















-176-0.0697565-176-0.997563-176-1.12E-07-176-8.94E-07















-175-0.0871559-175-0.996192-175-5.22E-08-175-2.32E-06















-174-0.104528-174-0.994517-174-7.45E-08-174-5.01E-06















-173-0.121869-173-0.992537-173-3.35E-07-173-9.24E-06















-172-0.139173-172-0.990252-172-4.62E-07-172-1.58E-05















-171-0.156434-171-0.987663-171-7.75E-07-171-2.53E-05















-170-0.173647-170-0.984769-170-1.43E-06-170-3.86E-05















-169-0.190807-169-0.981571-169-2.19E-06-169-5.66E-05















-168-0.207895-168-0.978104-168-1.63E-05-168-4.40E-05















-167-0.22494-167-0.97434-167-1.11E-05-167-2.95E-05















-166-0.241915-166-0.970277-166-7.14E-06-166-1.90E-05















-165-0.258815-165-0.965914-165-4.23E-06-165-1.15E-05















-164-0.275635-164-0.961255-164-2.50E-06-164-6.44E-06















-163-0.292371-163-0.956301-163-1.22E-06-163-3.34E-06















-162-0.309017-162-0.951055-162-5.07E-07-162-1.55E-06















-161-0.325568-161-0.945518-161-2.38E-07-161-5.96E-07















-160-0.34202-160-0.939692-1600-160-1.79E-07















-159-0.358368-159-0.93358-1591.19E-07-1590















-158-0.374607-158-0.927184-1580-1580















-157-0.390731-157-0.920505-1575.96E-08-157-5.96E-08















-156-0.406737-156-0.913545-1565.96E-08-156-5.96E-08















-155-0.422618-155-0.906308-155-5.96E-08-155-1.79E-07















-154-0.438371-154-0.898793-154-2.09E-07-154-5.96E-07















-153-0.45399-153-0.891005-153-6.85E-07-153-1.43E-06















-152-0.46947-152-0.882944-152-1.43E-06-152-3.28E-06















-151-0.484807-151-0.874613-151-2.74E-06-151-6.32E-06















-150-0.499995-150-0.866014-150-4.89E-06-150-1.13E-05















-149-0.51503-149-0.857149-149-8.29E-06-149-1.84E-05















-148-0.529906-148-0.848019-148-1.29E-05-148-2.87E-05















-147-0.54462-147-0.838628-147-1.94E-05-147-4.27E-05















-146-0.559155-146-0.828996-146-3.86E-05-146-4.14E-05















-145-0.57355-145-0.819124-145-2.65E-05-145-2.82E-05















-144-0.587768-144-0.808999-144-1.75E-05-144-1.84E-05















-143-0.601804-143-0.798624-143-1.10E-05-143-1.14E-05















-142-0.615655-142-0.788004-142-6.56E-06-142-6.74E-06















-141-0.629317-141-0.777142-141-3.58E-06-141-3.46E-06















-140-0.642786-140-0.766043-140-1.85E-06-140-1.67E-06















-139-0.656058-139-0.754709-139-8.34E-07-139-5.96E-07















-138-0.66913-138-0.743145-138-4.17E-07-138-5.96E-08















-137-0.681998-137-0.731354-137-1.79E-07-1375.96E-08















-136-0.694658-136-0.71934-136-1.19E-07-1365.96E-08















-135-0.707107-135-0.707107-135-5.96E-08-1355.96E-08















-134-0.71934-134-0.694658-134-1.19E-07-1345.96E-08















-133-0.731354-133-0.681998-133-5.96E-08-1330















-132-0.743145-132-0.66913-132-1.79E-07-132-2.98E-07















-131-0.754709-131-0.656058-131-7.75E-07-131-7.15E-07















-130-0.766043-130-0.642786-130-1.73E-06-130-1.73E-06















-129-0.777142-129-0.629317-129-3.70E-06-129-3.40E-06















-128-0.788004-128-0.615655-128-6.79E-06-128-6.38E-06















-127-0.798624-127-0.601804-127-1.15E-05-127-1.08E-05















-126-0.808999-126-0.587768-126-1.85E-05-126-1.73E-05















-125-0.819124-125-0.57355-125-2.83E-05-125-2.63E-05















-124-0.828996-124-0.559154-124-4.15E-05-124-3.84E-05















-123-0.838628-123-0.544619-123-4.27E-05-123-1.95E-05















-122-0.848019-122-0.529906-122-2.87E-05-122-1.29E-05















-121-0.857149-121-0.51503-121-1.83E-05-121-8.34E-06















-120-0.866014-120-0.499995-120-1.11E-05-120-5.07E-06















-119-0.874613-119-0.484807-119-6.32E-06-119-2.83E-06















-118-0.882944-118-0.46947-118-3.22E-06-118-1.46E-06















-117-0.891005-117-0.45399-117-1.43E-06-117-5.96E-07















-116-0.898794-116-0.438371-116-5.36E-07-116-2.38E-07















-115-0.906308-115-0.422618-115-1.19E-07-115-1.19E-07















-114-0.913545-114-0.406736-114-5.96E-08-1142.98E-08















-113-0.920505-113-0.390731-1130-1130















-112-0.927184-112-0.374607-1120-1122.98E-08















-111-0.93358-111-0.358368-111-5.96E-08-1112.98E-08















-110-0.939692-110-0.34202-110-1.19E-07-110-1.79E-07















-109-0.945518-109-0.325568-109-5.36E-07-109-2.98E-07















-108-0.951055-108-0.309016-108-1.43E-06-108-6.56E-07















-107-0.956301-107-0.29237-107-3.28E-06-107-1.37E-06















-106-0.961255-106-0.275635-106-6.44E-06-106-2.59E-06















-105-0.965914-105-0.258815-105-1.14E-05-105-4.47E-06















-104-0.970277-104-0.241915-104-1.88E-05-104-7.20E-06















-103-0.974341-103-0.22494-103-2.94E-05-103-1.11E-05















-102-0.978104-102-0.207895-102-4.40E-05-102-1.63E-05















-101-0.981571-101-0.190807-101-5.65E-05-101-2.13E-06















-100-0.984769-100-0.173647-100-3.86E-05-100-1.28E-06















-99-0.987663-99-0.156434-99-2.53E-05-99-7.15E-07















-98-0.990252-98-0.139173-98-1.58E-05-98-5.07E-07















-97-0.992537-97-0.121869-97-9.24E-06-97-2.68E-07















-96-0.994517-96-0.104528-96-4.95E-06-96-7.45E-09















-95-0.996192-95-0.0871557-95-2.38E-06-95-1.04E-07















-94-0.997563-94-0.0697564-94-9.54E-07-94-4.47E-08















-93-0.998629-93-0.0523359-93-2.98E-07-93-1.12E-08















-92-0.999391-92-0.0348994-920-921.49E-08















-91-0.999848-91-0.0174523-915.96E-08-914.10E-08















-90-1-900-905.96E-08-900















-89-0.999848-890.0174524-895.96E-08-89-7.45E-09















-88-0.999391-880.0348995-880-88-6.33E-08















-87-0.998629-870.052336-87-2.38E-07-87-1.56E-07















-86-0.997563-860.0697565-86-9.54E-07-86-9.69E-08















-85-0.996192-850.0871558-85-2.38E-06-85-4.47E-08















-84-0.994517-840.104528-84-4.95E-06-847.45E-09















-83-0.992537-830.121869-83-9.24E-06-831.27E-07















-82-0.990252-820.139173-82-1.58E-05-823.28E-07















-81-0.987663-810.156434-81-2.53E-05-817.45E-07















-80-0.984769-800.173647-80-3.86E-05-801.27E-06















-79-0.981571-790.190807-79-5.66E-05-792.09E-06















-78-0.978104-780.207895-78-4.40E-05-781.65E-05















-77-0.974341-770.22494-77-2.94E-05-771.11E-05















-76-0.970277-760.241915-76-1.89E-05-767.18E-06















-75-0.965914-750.258815-75-1.14E-05-754.41E-06















-74-0.961255-740.275635-74-6.50E-06-742.56E-06















-73-0.956301-730.29237-73-3.28E-06-731.31E-06















-72-0.951055-720.309016-72-1.49E-06-726.26E-07















-71-0.945518-710.325568-71-5.36E-07-712.68E-07















-70-0.939692-700.34202-70-1.79E-07-701.49E-07















-69-0.93358-690.358368-690-690















-68-0.927184-680.374607-680-682.98E-08















-67-0.920505-670.390731-670-672.98E-08















-66-0.913545-660.406737-665.96E-08-660















-65-0.906308-650.422618-65-1.19E-07-658.94E-08















-64-0.898793-640.438371-64-5.36E-07-642.09E-07















-63-0.891005-630.45399-63-1.43E-06-636.26E-07















-62-0.882944-620.46947-62-3.16E-06-621.43E-06















-61-0.874613-610.484807-61-6.26E-06-612.80E-06















-60-0.866014-600.499995-60-1.11E-05-604.95E-06















-59-0.857149-590.51503-59-1.84E-05-598.23E-06















-58-0.848019-580.529906-58-2.86E-05-581.30E-05















-57-0.838628-570.54462-57-4.27E-05-571.95E-05















-56-0.828996-560.559155-56-4.14E-05-563.83E-05















-55-0.819124-550.57355-55-2.83E-05-552.63E-05















-54-0.808998-540.587768-54-1.85E-05-541.73E-05















-53-0.798624-530.601804-53-1.14E-05-531.08E-05















-52-0.788004-520.615655-52-6.74E-06-526.26E-06















-51-0.777142-510.629317-51-3.52E-06-513.40E-06















-50-0.766043-500.642786-50-1.67E-06-501.67E-06















-49-0.754709-490.656058-49-7.15E-07-495.96E-07















-48-0.743145-480.66913-48-1.79E-07-481.79E-07















-47-0.731354-470.681998-47-5.96E-08-47-5.96E-08















-46-0.71934-460.694658-460-460















-45-0.707107-450.707107-455.96E-08-45-5.96E-08















-44-0.694658-440.71934-44-5.96E-08-44-5.96E-08















-43-0.681998-430.731354-430-43-5.96E-08















-42-0.66913-420.743145-42-2.38E-07-421.79E-07















-41-0.656058-410.754709-41-7.15E-07-417.15E-07















-40-0.642786-400.766043-40-1.73E-06-401.73E-06















-39-0.629317-390.777142-39-3.52E-06-393.58E-06















-38-0.615655-380.788004-38-6.50E-06-386.79E-06















-37-0.601804-370.798624-37-1.08E-05-371.15E-05















-36-0.587768-360.808998-36-1.75E-05-361.85E-05















-35-0.57355-350.819124-35-2.64E-05-352.83E-05















-34-0.559154-340.828996-34-3.84E-05-344.15E-05















-33-0.544619-330.838628-33-1.96E-05-334.28E-05















-32-0.529906-320.848019-32-1.30E-05-322.87E-05















-31-0.51503-310.857149-31-8.34E-06-311.85E-05















-30-0.499995-300.866014-30-5.01E-06-301.13E-05















-29-0.484807-290.874613-29-2.83E-06-296.38E-06















-28-0.46947-280.882944-28-1.43E-06-283.28E-06















-27-0.45399-270.891005-27-6.26E-07-271.55E-06















-26-0.438371-260.898793-26-2.68E-07-265.96E-07















-25-0.422618-250.906308-25-8.94E-08-251.79E-07















-24-0.406737-240.913545-24-2.98E-08-245.96E-08















-23-0.390731-230.920505-23-2.98E-08-230















-22-0.374607-220.927184-22-2.98E-08-220















-21-0.358368-210.93358-21-2.98E-08-210















-20-0.34202-200.939692-20-8.94E-08-201.79E-07















-19-0.325568-190.945518-19-2.38E-07-195.96E-07















-18-0.309016-180.951055-18-5.96E-07-181.49E-06















-17-0.29237-170.956301-17-1.28E-06-173.34E-06















-16-0.275635-160.961255-16-2.53E-06-166.44E-06















-15-0.258815-150.965914-15-4.41E-06-151.15E-05















-14-0.241915-140.970277-14-7.18E-06-141.89E-05















-13-0.22494-130.974341-13-1.11E-05-132.94E-05















-12-0.207895-120.978104-12-1.64E-05-124.40E-05















-11-0.190807-110.981571-11-2.16E-06-115.65E-05















-10-0.173647-100.984769-10-1.36E-06-103.86E-05















-9-0.156434-90.987663-9-8.05E-07-92.53E-05















-8-0.139173-80.990252-8-4.47E-07-81.58E-05















-7-0.121869-70.992537-7-2.24E-07-79.18E-06















-6-0.104528-60.994517-6-1.04E-07-64.95E-06















-5-0.0871557-50.996192-5-4.47E-08-52.38E-06















-4-0.0697565-40.997563-4-7.45E-09-49.54E-07















-3-0.052336-30.998629-3-3.73E-09-32.38E-07















-2-0.0348995-20.999391-20-20















-1-0.0174524-10.999848-10-1-5.96E-08















00010000















10.017452410.999848101-5.96E-08















20.034899520.9993912020















30.05233630.99862933.73E-0932.38E-07















40.069756540.99756347.45E-0949.54E-07















50.087155750.99619254.47E-0852.38E-06















60.10452860.99451761.04E-0764.95E-06















70.12186970.99253772.24E-0779.18E-06















80.13917380.99025284.47E-0781.58E-05















90.15643490.98766398.05E-0792.53E-05















100.173647100.984769101.36E-06103.86E-05















110.190807110.981571112.16E-06115.65E-05















120.207895120.978104121.64E-05124.40E-05















130.22494130.974341131.11E-05132.94E-05















140.241915140.970277147.18E-06141.89E-05















150.258815150.965914154.41E-06151.15E-05















160.275635160.961255162.53E-06166.44E-06















170.29237170.956301171.28E-06173.34E-06















180.309016180.951055185.96E-07181.49E-06















190.325568190.945518192.38E-07195.96E-07















200.34202200.939692208.94E-08201.79E-07















210.358368210.93358212.98E-08210















220.374607220.927184222.98E-08220















230.390731230.920505232.98E-08230















240.406737240.913545242.98E-08245.96E-08















250.422618250.906308258.94E-08251.79E-07















260.438371260.898793262.68E-07265.96E-07















270.45399270.891005276.26E-07271.55E-06















280.46947280.882944281.43E-06283.28E-06















290.484807290.874613292.83E-06296.38E-06















300.499995300.866014305.01E-06301.13E-05















310.51503310.857149318.34E-06311.85E-05















320.529906320.848019321.30E-05322.87E-05















330.544619330.838628331.96E-05334.28E-05















340.559154340.828996343.84E-05344.15E-05















350.57355350.819124352.64E-05352.83E-05















360.587768360.808998361.75E-05361.85E-05















370.601804370.798624371.08E-05371.15E-05















380.615655380.788004386.50E-06386.79E-06















390.629317390.777142393.52E-06393.58E-06















400.642786400.766043401.73E-06401.73E-06















410.656058410.754709417.15E-07417.15E-07















420.66913420.743145422.38E-07421.79E-07















430.681998430.73135443043-5.96E-08















440.694658440.71934445.96E-0844-5.96E-08















450.707107450.70710745-5.96E-0845-5.96E-08















460.71934460.694658460460















470.731354470.681998475.96E-0847-5.96E-08















480.743145480.66913481.79E-07481.79E-07















490.754709490.656058497.15E-07495.96E-07















500.766043500.642786501.67E-06501.67E-06















510.777142510.629317513.52E-06513.40E-06















520.788004520.615655526.74E-06526.26E-06















530.798624530.601804531.14E-05531.08E-05















540.808998540.587768541.85E-05541.73E-05















550.819124550.57355552.83E-05552.63E-05















560.828996560.559155564.14E-05563.83E-05















570.838628570.54462574.27E-05571.95E-05















580.848019580.529906582.86E-05581.30E-05















590.857149590.51503591.84E-05598.23E-06















600.866014600.499995601.11E-05604.95E-06















610.874613610.484807616.26E-06612.80E-06















620.882944620.46947623.16E-06621.43E-06















630.891005630.45399631.43E-06636.26E-07















640.898793640.438371645.36E-07642.09E-07















650.906308650.422618651.19E-07658.94E-08















660.913545660.40673766-5.96E-08660















670.920505670.390731670672.98E-08















680.927184680.374607680682.98E-08















690.93358690.358368690690















700.939692700.34202701.79E-07701.49E-07















710.945518710.325568715.36E-07712.68E-07















720.951055720.309016721.49E-06726.26E-07















730.956301730.29237733.28E-06731.31E-06















740.961255740.275635746.50E-06742.56E-06















750.965914750.258815751.14E-05754.41E-06















760.970277760.241915761.89E-05767.18E-06















770.974341770.22494772.94E-05771.11E-05















780.978104780.207895784.40E-05781.65E-05















790.981571790.190807795.66E-05792.09E-06















800.984769800.173647803.86E-05801.27E-06















810.987663810.156434812.53E-05817.45E-07















820.990252820.139173821.58E-05823.28E-07















830.992537830.121869839.24E-06831.27E-07















840.994517840.104528844.95E-06847.45E-09















850.996192850.0871558852.38E-0685-4.47E-08















860.997563860.0697565869.54E-0786-9.69E-08















870.998629870.052336872.38E-0787-1.56E-07















880.999391880.034899588088-6.33E-08















890.999848890.017452489-5.96E-0889-7.45E-09















90190090-5.96E-08900















910.99984891-0.017452391-5.96E-08914.10E-08















920.99939192-0.0348994920921.49E-08















930.99862993-0.0523359932.98E-0793-1.12E-08















940.99756394-0.0697564949.54E-0794-4.47E-08















950.99619295-0.0871557952.38E-0695-1.04E-07















960.99451796-0.104528964.95E-0696-7.45E-09















970.99253797-0.121869979.24E-0697-2.68E-07















980.99025298-0.139173981.58E-0598-5.07E-07















990.98766399-0.156434992.53E-0599-7.15E-07















1000.984769100-0.1736471003.86E-05100-1.28E-06















1010.981571101-0.1908071015.65E-05101-2.13E-06















1020.978104102-0.2078951024.40E-05102-1.63E-05















1030.974341103-0.224941032.94E-05103-1.11E-05















1040.970277104-0.2419151041.88E-05104-7.20E-06















1050.965914105-0.2588151051.14E-05105-4.47E-06















1060.961255106-0.2756351066.44E-06106-2.59E-06















1070.956301107-0.292371073.28E-06107-1.37E-06















1080.951055108-0.3090161081.43E-06108-6.56E-07















1090.945518109-0.3255681095.36E-07109-2.98E-07















1100.939692110-0.342021101.19E-07110-1.79E-07















1110.93358111-0.3583681115.96E-081112.98E-08















1120.927184112-0.37460711201122.98E-08















1130.920505113-0.39073111301130















1140.913545114-0.4067361145.96E-081142.98E-08















1150.906308115-0.4226181151.19E-07115-1.19E-07















1160.898794116-0.4383711165.36E-07116-2.38E-07















1170.891005117-0.453991171.43E-06117-5.96E-07















1180.882944118-0.469471183.22E-06118-1.46E-06















1190.874613119-0.4848071196.32E-06119-2.83E-06















1200.866014120-0.4999951201.11E-05120-5.07E-06















1210.857149121-0.515031211.83E-05121-8.34E-06















1220.848019122-0.5299061222.87E-05122-1.29E-05















1230.838628123-0.5446191234.27E-05123-1.95E-05















1240.828996124-0.5591541244.15E-05124-3.84E-05















1250.819124125-0.573551252.83E-05125-2.63E-05















1260.808999126-0.5877681261.85E-05126-1.73E-05















1270.798624127-0.6018041271.15E-05127-1.08E-05















1280.788004128-0.6156551286.79E-06128-6.38E-06















1290.777142129-0.6293171293.70E-06129-3.40E-06















1300.766043130-0.6427861301.73E-06130-1.73E-06















1310.754709131-0.6560581317.75E-07131-7.15E-07















1320.743145132-0.669131321.79E-07132-2.98E-07















1330.731354133-0.6819981335.96E-081330















1340.71934134-0.6946581341.19E-071345.96E-08















1350.707107135-0.7071071355.96E-081355.96E-08















1360.694658136-0.719341361.19E-071365.96E-08















1370.681998137-0.7313541371.79E-071375.96E-08















1380.66913138-0.7431451384.17E-07138-5.96E-08















1390.656058139-0.7547091398.34E-07139-5.96E-07















1400.642786140-0.7660431401.85E-06140-1.67E-06















1410.629317141-0.7771421413.58E-06141-3.46E-06















1420.615655142-0.7880041426.56E-06142-6.74E-06















1430.601804143-0.7986241431.10E-05143-1.14E-05















1440.587768144-0.8089991441.75E-05144-1.84E-05















1450.57355145-0.8191241452.65E-05145-2.82E-05















1460.559155146-0.8289961463.86E-05146-4.14E-05















1470.54462147-0.8386281471.94E-05147-4.27E-05















1480.529906148-0.8480191481.29E-05148-2.87E-05















1490.51503149-0.8571491498.29E-06149-1.84E-05















1500.499995150-0.8660141504.89E-06150-1.13E-05















1510.484807151-0.8746131512.74E-06151-6.32E-06















1520.46947152-0.8829441521.43E-06152-3.28E-06















1530.45399153-0.8910051536.85E-07153-1.43E-06















1540.438371154-0.8987931542.09E-07154-5.96E-07















1550.422618155-0.9063081555.96E-08155-1.79E-07















1560.406737156-0.913545156-5.96E-08156-5.96E-08















1570.390731157-0.920505157-5.96E-08157-5.96E-08















1580.374607158-0.92718415801580















1590.358368159-0.93358159-1.19E-071590















1600.34202160-0.9396921600160-1.79E-07















1610.325568161-0.9455181612.38E-07161-5.96E-07















1620.309017162-0.9510551625.07E-07162-1.55E-06















1630.292371163-0.9563011631.22E-06163-3.34E-06















1640.275635164-0.9612551642.50E-06164-6.44E-06















1650.258815165-0.9659141654.23E-06165-1.15E-05















1660.241915166-0.9702771667.14E-06166-1.90E-05















1670.22494167-0.974341671.11E-05167-2.95E-05















1680.207895168-0.9781041681.63E-05168-4.40E-05















1690.190807169-0.9815711692.19E-06169-5.66E-05















1700.173647170-0.9847691701.43E-06170-3.86E-05















1710.156434171-0.9876631717.75E-07171-2.53E-05















1720.139173172-0.9902521724.62E-07172-1.58E-05















1730.121869173-0.9925371733.35E-07173-9.24E-06















1740.104528174-0.9945171747.45E-08174-5.01E-06















1750.0871559175-0.9961921755.22E-08175-2.32E-06















1760.0697565176-0.9975631761.12E-07176-8.94E-07















1770.0523361177-0.998629177-3.73E-08177-2.38E-07















1780.0348995178-0.9993911785.22E-081780















1790.0174525179-0.9998481799.50E-081795.96E-08















1800180-118001805.96E-08















181-0.0174523181-0.9998481814.10E-081815.96E-08















182-0.0348993182-0.9993911828.57E-081820















183-0.0523359183-0.998629183-1.12E-08183-2.98E-07















184-0.0697563184-0.9975631842.24E-08184-9.54E-07















185-0.0871557185-0.996192185-1.04E-07185-2.38E-06















186-0.104528186-0.994517186-1.27E-07186-4.95E-06















187-0.121869187-0.992537187-2.09E-07187-9.24E-06















188-0.139173188-0.990252188-5.07E-07188-1.58E-05















189-0.156433189-0.987663189-8.34E-07189-2.53E-05















190-0.173647190-0.984769190-1.48E-06190-3.86E-05















191-0.190807191-0.981571191-2.25E-06191-5.65E-05















192-0.207895192-0.978104192-1.61E-05192-4.41E-05















193-0.22494193-0.974341193-1.11E-05193-2.94E-05















194-0.241915194-0.970277194-7.20E-06194-1.88E-05















195-0.258815195-0.965914195-4.11E-06195-1.15E-05















196-0.275635196-0.961255196-2.59E-06196-6.44E-06















197-0.29237197-0.956301197-1.07E-06197-3.34E-06















198-0.309016198-0.951055198-3.58E-07198-1.55E-06















199-0.325568199-0.9455181995.96E-08199-6.56E-07















200-0.34202200-0.9396922008.94E-08200-2.38E-07















201-0.358368201-0.933582011.79E-07201-1.79E-07















202-0.374607202-0.9271842021.49E-07202-5.96E-08















203-0.390731203-0.9205052031.79E-07203-5.96E-08















204-0.406736204-0.9135452041.79E-07204-1.19E-07















205-0.422618205-0.9063082055.96E-08205-1.79E-07















206-0.438371206-0.898794206-2.98E-08206-6.56E-07















207-0.45399207-0.891005207-5.66E-07207-1.49E-06















208-0.46947208-0.882944208-1.28E-06208-3.28E-06















209-0.484807209-0.874613209-2.74E-06209-6.32E-06















210-0.499995210-0.866014210-4.92E-06210-1.11E-05















211-0.51503211-0.857149211-8.17E-06211-1.84E-05















212-0.529906212-0.848019212-1.29E-05212-2.87E-05















213-0.544619213-0.838628213-1.95E-05213-4.27E-05















214-0.559154214-0.828996214-3.86E-05214-4.14E-05















215-0.57355215-0.819124215-2.65E-05215-2.81E-05















216-0.587768216-0.808999216-1.75E-05216-1.84E-05















217-0.601804217-0.798624217-1.11E-05217-1.14E-05















218-0.615655218-0.788004218-6.56E-06218-6.62E-06















219-0.629317219-0.777142219-3.40E-06219-3.70E-06















220-0.642786220-0.766043220-1.85E-06220-1.61E-06















221-0.656058221-0.754709221-7.15E-07221-7.75E-07















222-0.66913222-0.743145222-1.19E-07222-3.58E-07















223-0.681998223-0.731354223-1.79E-072231.19E-07















224-0.694658224-0.719342245.96E-08224-1.19E-07















225-0.707107225-0.7071072255.96E-082250















226-0.71934226-0.6946582265.96E-08226-1.19E-07















227-0.731354227-0.6819982270227-1.19E-07















228-0.743144228-0.669131228-1.19E-07228-4.17E-07















229-0.754709229-0.656058229-7.15E-07229-7.75E-07















230-0.766043230-0.642786230-1.73E-06230-1.73E-06















231-0.777142231-0.629317231-3.58E-06231-3.46E-06















232-0.788004232-0.615655232-6.74E-06232-6.44E-06















233-0.798624233-0.601804233-1.14E-05233-1.10E-05















234-0.808998234-0.587768234-1.84E-05234-1.75E-05















235-0.819124235-0.57355235-2.83E-05235-2.63E-05















236-0.828996236-0.559155236-4.15E-05236-3.84E-05















237-0.838628237-0.54462237-4.28E-05237-1.94E-05















238-0.848019238-0.529907238-2.87E-05238-1.29E-05















239-0.857149239-0.51503239-1.84E-05239-8.17E-06















240-0.866014240-0.499995240-1.13E-05240-4.74E-06















241-0.874613241-0.484807241-6.50E-06241-2.53E-06















242-0.882944242-0.469471242-3.40E-06242-1.22E-06















243-0.891005243-0.45399243-1.55E-06243-4.77E-07















244-0.898793244-0.438371244-5.96E-07244-2.09E-07















245-0.906308245-0.422618245-1.79E-07245-5.96E-08















246-0.913545246-0.406737246-5.96E-08246-5.96E-08















247-0.920505247-0.390732247-1.19E-072472.68E-07















248-0.927184248-0.374607248-1.19E-072482.38E-07















249-0.93358249-0.35836824902491.19E-07















250-0.939692250-0.34202250-1.79E-072500















251-0.945518251-0.325568251-5.96E-07251-1.79E-07















252-0.951055252-0.309017252-1.49E-06252-5.96E-07















253-0.956301253-0.292371253-3.34E-06253-1.01E-06















254-0.961255254-0.275635254-6.50E-06254-2.35E-06















255-0.965914255-0.258815255-1.15E-05255-4.23E-06















256-0.970277256-0.241915256-1.90E-05256-7.11E-06















257-0.97434257-0.22494257-2.94E-05257-1.10E-05















258-0.978103258-0.207896258-4.40E-05258-1.64E-05















259-0.981571259-0.190807259-5.65E-05259-2.25E-06















260-0.984769260-0.173647260-3.86E-05260-1.48E-06















261-0.987663261-0.156434261-2.53E-05261-9.54E-07















262-0.990252262-0.139173262-1.58E-05262-6.41E-07















263-0.992537263-0.121869263-9.18E-06263-4.69E-07















264-0.994517264-0.104528264-4.95E-06264-1.27E-07















265-0.996192265-0.0871557265-2.38E-06265-1.04E-07















266-0.997563266-0.0697565266-8.94E-07266-1.12E-07















267-0.998629267-0.0523361267-2.38E-07267-1.49E-07















268-0.999391268-0.03489982680268-1.86E-07















269-0.999848269-0.01745232695.96E-08269-3.33E-07















270-127002705.96E-082700















271-0.9998482710.01745232715.96E-08271-4.10E-08















272-0.9993912720.03489932720272-8.57E-08















273-0.9986292730.0523361273-2.98E-07273-2.27E-07















274-0.9975632740.0697565274-9.54E-07274-2.61E-07















275-0.9961922750.0871557275-2.38E-06275-2.68E-07















276-0.9945172760.104528276-5.01E-06276-2.46E-07















277-0.9925372770.121869277-9.24E-062772.09E-07















278-0.9902522780.139173278-1.59E-052782.68E-07















279-0.9876632790.156434279-2.54E-052795.96E-07















280-0.9847692800.173647280-3.87E-052801.10E-06















281-0.9815712810.190807281-5.66E-052811.88E-06















282-0.9781042820.207895282-4.40E-052821.62E-05















283-0.9743412830.22494283-2.94E-052831.11E-05















284-0.9702772840.241915284-1.88E-052847.20E-06















285-0.9659142850.258814285-1.14E-052854.35E-06















286-0.9612552860.275635286-6.50E-062862.44E-06















287-0.9563022870.29237287-3.34E-062871.19E-06















288-0.9510552880.309016288-1.43E-062887.15E-07















289-0.9455182890.325568289-5.36E-072892.98E-07















290-0.9396932900.34202290-1.19E-072901.19E-07















291-0.9335812910.358368291-5.96E-082912.98E-08















292-0.9271842920.374606292-5.96E-08292-2.98E-08















293-0.9205052930.390731293-5.96E-08293-1.79E-07















294-0.9135452940.4067362945.96E-082941.49E-07















295-0.9063082950.422618295-1.19E-072951.79E-07















296-0.8987942960.438371296-4.77E-072962.68E-07















297-0.8910052970.453989297-1.49E-062976.85E-07















298-0.8829442980.46947298-3.28E-062981.28E-06















299-0.8746132990.484807299-6.44E-062992.65E-06















300-0.8660143000.499995300-1.11E-053005.16E-06















301-0.8571493010.515029301-1.84E-053018.34E-06















302-0.8480193020.529906302-2.87E-053021.29E-05















303-0.8386283030.544619303-4.27E-053031.95E-05















304-0.8289963040.559154304-4.14E-053043.85E-05















305-0.8191243050.57355305-2.83E-053052.63E-05















306-0.8089993060.587767306-1.85E-053061.73E-05















307-0.7986243070.601804307-1.14E-053071.11E-05















308-0.7880043080.615655308-6.62E-063086.56E-06















309-0.7771433090.629317309-3.52E-063093.58E-06















310-0.7660433100.642786310-1.73E-063101.79E-06















311-0.7547093110.656058311-7.75E-073117.75E-07















312-0.7431453120.66913312-5.96E-083124.17E-07















313-0.7313543130.6819983131.19E-073131.79E-07















314-0.719343140.6946583145.96E-083141.19E-07















315-0.7071073150.7071063151.79E-073151.19E-07















316-0.6946593160.71933931603160















317-0.6819983170.7313543171.79E-073172.38E-07















318-0.6691313180.743144318-1.19E-073183.58E-07















319-0.6560593190.754709319-5.96E-073198.94E-07















320-0.6427863200.766042320-1.55E-063201.79E-06















321-0.6293173210.777142321-3.34E-063213.70E-06















322-0.6156553220.788004322-6.44E-063226.74E-06















323-0.6018043230.798624323-1.10E-053231.14E-05















324-0.5877683240.808998324-1.72E-053241.87E-05















325-0.5735513250.819123325-2.62E-053252.84E-05















326-0.5591553260.828996326-3.83E-053264.15E-05















327-0.5446193270.838628327-1.98E-053274.24E-05















328-0.5299063280.848019328-1.33E-053282.84E-05















329-0.515033290.857149329-8.58E-063291.82E-05















330-0.4999953300.866014330-5.07E-063301.11E-05















331-0.4848073310.874613331-2.98E-063316.26E-06















332-0.469473320.882944332-1.64E-063323.16E-06















333-0.453993330.891005333-8.64E-073331.31E-06















334-0.4383713340.898793334-5.36E-073344.17E-07















335-0.4226183350.906308335-3.87E-073350















336-0.4067363360.913545336-1.49E-07336-5.96E-08















337-0.3907313370.920505337-1.79E-07337-5.96E-08















338-0.3746073380.927184338-2.09E-07338-5.96E-08















339-0.3583683390.93358339-2.38E-07339-1.19E-07















340-0.342023400.939692340-3.58E-073405.96E-08















341-0.3255683410.945518341-2.98E-073415.36E-07















342-0.3090163420.951055342-7.15E-073421.43E-06















343-0.292373430.956301343-1.43E-063433.22E-06















344-0.2756353440.961255344-2.71E-063446.44E-06















345-0.2588153450.965914345-4.62E-063451.14E-05















346-0.2419153460.970277346-7.57E-063461.88E-05















347-0.224943470.974341347-1.11E-053472.94E-05















348-0.2078953480.978104348-1.65E-053484.40E-05















349-0.1908073490.981571349-2.15E-063495.65E-05















350-0.1736473500.984769350-1.37E-063503.86E-05















351-0.1564343510.987663351-9.54E-073512.53E-05















352-0.1391733520.990252352-6.41E-073521.58E-05















353-0.1218693530.992537353-4.69E-073539.18E-06















354-0.1045293540.994517354-2.24E-083544.95E-06















355-0.08715623550.996192355-7.45E-093552.38E-06















356-0.06975653560.997563356-1.12E-073568.94E-07















357-0.05233613570.998629357-1.49E-073572.38E-07















358-0.03489983580.999391358-1.86E-073580















359-0.01745283590.999848359-2.31E-07359-5.96E-08















360036013600360-5.96E-08















3610.01745233610.999848361-4.15E-07361-5.96E-08















3620.03489933620.999391362-8.57E-083620















3630.05233573630.9986293632.50E-073632.98E-07















3640.06975613640.997563364-1.56E-073649.54E-07















3650.08715573650.996192365-2.68E-073652.38E-06















3660.1045283660.9945173661.27E-073664.95E-06















3670.1218693670.992537367-1.64E-073679.30E-06















3680.1391723680.9902523683.73E-073681.59E-05















3690.1564333690.9876633691.06E-063692.53E-05















3700.1736473700.9847693701.48E-063703.86E-05















3710.1908073710.9815713711.88E-063715.66E-05















3720.2078953720.9781043721.66E-053724.40E-05















3730.2249393730.9743413731.09E-053732.96E-05















3740.2419143740.9702773747.26E-063741.88E-05















3750.2588143750.9659143754.35E-063751.14E-05















3760.2756353760.9612553762.80E-063766.38E-06















3770.292373770.9563023771.19E-063773.34E-06















3780.3090163780.9510553788.05E-073781.43E-06















3790.3255673790.9455183792.98E-083795.96E-07















3800.342023800.9396933804.47E-073800















3810.3583683810.9335813812.98E-083815.96E-08















3820.3746063820.9271843822.98E-07382-1.19E-07















3830.3907313830.920505383-5.96E-083835.96E-08















3840.4067363840.913545384-1.79E-073841.19E-07















3850.4226183850.9063083851.79E-073851.19E-07















3860.4383713860.8987943866.56E-073862.98E-07















3870.4539893870.8910053876.85E-073871.49E-06















3880.469473880.8829453881.70E-063883.04E-06















3890.4848073890.8746133892.98E-063896.26E-06















3900.4999953900.8660143904.86E-063901.13E-05















3910.5150293910.8571493918.34E-063911.84E-05















3920.5299063920.848023921.34E-053922.84E-05















3930.5446193930.8386283931.97E-053934.27E-05















3940.5591553940.8289963943.81E-053944.17E-05















3950.573553950.8191243952.63E-053952.83E-05















3960.5877683960.8089993961.70E-053961.88E-05















3970.6018043970.7986243971.08E-053971.16E-05















3980.6156553980.7880043985.96E-063987.09E-06















3990.6293173990.7771423993.46E-063993.58E-06















4000.6427864000.7660434001.43E-064001.97E-06















4010.6560584010.7547094017.15E-074017.75E-07















4020.669134020.743145402-1.79E-074025.96E-07















4030.6819984030.731354403-1.19E-074031.19E-07















4040.6946584040.71934404-1.79E-074042.38E-07















4050.7071074050.707107405-5.96E-084055.96E-08















4060.719344060.694658406-3.58E-074063.58E-07















4070.7313544070.68199840704071.19E-07















4080.7431444080.669131408-1.19E-074086.56E-07















4090.7547094090.6560584097.75E-074097.15E-07















4100.7660434100.6427864101.49E-064101.97E-06















4110.7771424110.6293174113.58E-064113.46E-06















4120.7880044120.6156554126.50E-064126.74E-06















4130.7986244130.6018044131.11E-054131.14E-05















4140.8089994140.5877684141.84E-054141.76E-05















4150.8191244150.573554152.79E-054152.69E-05















4160.8289964160.5591554164.12E-054163.87E-05















4170.8386284170.544624174.28E-054171.94E-05















4180.8480194180.5299064182.87E-054181.29E-05















4190.8571494190.515034191.82E-054198.58E-06















4200.8660144200.4999954201.11E-054205.07E-06















4210.8746134210.4848074216.08E-064213.22E-06















4220.8829444220.4694714223.22E-064221.55E-06















4230.8910054230.453994231.31E-064238.64E-07















4240.8987934240.4383714245.96E-074242.09E-07















4250.9063084250.42261842504253.87E-07















4260.9135454260.4067374265.96E-084265.96E-08















4270.9205054270.390732427-1.79E-074274.17E-07















4280.9271844280.3746074285.96E-08428-1.49E-07















4290.933584290.358368429-1.19E-074292.38E-07















4300.9396924300.342024301.79E-074300















4310.9455184310.3255684314.77E-074315.66E-07















4320.9510554320.3090174321.49E-064325.96E-07















4330.9563014330.292374333.22E-064331.43E-06















4340.9612554340.2756354346.50E-064342.35E-06















4350.9659144350.2588154351.14E-054354.62E-06















4360.9702774360.2419154361.90E-054367.11E-06















4370.974344370.224944372.94E-054371.14E-05















4380.9781044380.2078954384.39E-054381.68E-05















4390.9815714390.1908074395.65E-054392.15E-06















4400.9847694400.1736474403.87E-054401.01E-06















4410.9876634410.1564344412.53E-054418.49E-07















4420.9902524420.1391734421.58E-054426.41E-07















4430.9925374430.1218694439.24E-064439.69E-08















4440.9945174440.1045294444.95E-064443.95E-07















4450.9961924450.08715624452.38E-064457.45E-09















4460.9975634460.0697574469.54E-07446-3.58E-07















4470.9986294470.05233614472.98E-07447-2.27E-07















4480.9993914480.034899844804481.86E-07















4490.9998484490.0174528449-5.96E-08449-1.43E-07















45014504.77E-07450-5.96E-084502.72E-07
















Sheet 2: Timing_Analysis

Timing Analysis for 900 sin and cosine calculations from -450 deg to 450 deg










Using Sin_f32() and Sin_f32()

Using SinCos_f32()
1192 usec

585 usec