/*
 * Copyright 1989 Jon Bennett, Mike Bolotski, David Gagne, Dan Lovinger
 * Copyright 1986 Chris Gutherie
 *
 * Permission to use, copy, modify, distribute, and sell this software and its
 * documentation for any purpose is hereby granted without fee, provided that
 * the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation, and that the name of the copyright holders not be used in
 * advertising or publicity pertaining to distribution of the software
 * without specific, written prior permission.  The copyright holders make no
 * representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 *
 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
 */

/*
 * Made by Joe Keane and bc on September 3, 1989. To get cosine, use
 * Sine[X+64].
 */

#ifdef __STDC__
const
#endif
double          Sine[320] = {
  0.00000000000000000000000000000000,
  0.02454122852291228803173452945928,
  0.04906767432741801425495497694268,
  0.07356456359966742352946562157523,
  0.09801714032956060199419556388864,
  0.12241067519921619849870447415095,
  0.14673047445536175165885012964672,
  0.17096188876030122636364235720826,
  0.19509032201612826784828486847702,
  0.21910124015686979722773754749736,
  0.24298017990326388994827416207747,
  0.26671275747489838632528651511643,
  0.29028467725446236763619237581740,
  0.31368174039889147665647884599410,
  0.33688985339222005068925321261915,
  0.35989503653498814877510457232676,
  0.38268343236508977172845998403040,
  0.40524131400498987090848130550505,
  0.42755509343028209432096685688880,
  0.44961132965460660004629457942423,
  0.47139673682599764855638762590525,
  0.49289819222978403687302668875881,
  0.51410274419322172659369383896882,
  0.53499761988709721066307690463702,
  0.55557023301960222474283081394853,
  0.57580819141784530074597245381573,
  0.59569930449243334346703652882997,
  0.61523159058062684548491356341398,
  0.63439328416364549821517161322549,
  0.65317284295377676408420301365631,
  0.67155895484701840062537685042742,
  0.68954054473706692461673062995748,
  0.70710678118654752440084436210485,
  0.72424708295146692094106924329055,
  0.74095112535495909117561689749516,
  0.75720884650648454757546405360578,
  0.77301045336273696081090660975847,
  0.78834642762660626200916470535969,
  0.80320753148064490980667651296314,
  0.81758481315158369650492088413063,
  0.83146961230254523707878837761791,
  0.84485356524970707325957120510496,
  0.85772861000027206990226998428477,
  0.87008699110871141865229240448385,
  0.88192126434835502971275686366039,
  0.89322430119551532034241644749340,
  0.90398929312344333158620029723054,
  0.91420975570353065463501482939358,
  0.92387953251128675612818318939679,
  0.93299279883473888771166025554330,
  0.94154406518302077841250940259950,
  0.94952818059303666719593607418935,
  0.95694033573220886493579788698027,
  0.96377606579543986668646435550784,
  0.97003125319454399260398420728610,
  0.97570213003852854446039576641953,
  0.98078528040323044912618223613424,
  0.98527764238894124477401843317855,
  0.98917650996478097345167373801624,
  0.99247953459870999815676725166112,
  0.99518472667219688624483695310948,
  0.99729045667869021613559714018257,
  0.99879545620517239271477160475910,
  0.99969881869620422011576564966617,
  1.00000000000000000000000000000000,
  0.99969881869620422011576564966617,
  0.99879545620517239271477160475910,
  0.99729045667869021613559714018257,
  0.99518472667219688624483695310948,
  0.99247953459870999815676725166112,
  0.98917650996478097345167373801624,
  0.98527764238894124477401843317855,
  0.98078528040323044912618223613424,
  0.97570213003852854446039576641953,
  0.97003125319454399260398420728610,
  0.96377606579543986668646435550784,
  0.95694033573220886493579788698027,
  0.94952818059303666719593607418935,
  0.94154406518302077841250940259950,
  0.93299279883473888771166025554330,
  0.92387953251128675612818318939679,
  0.91420975570353065463501482939358,
  0.90398929312344333158620029723054,
  0.89322430119551532034241644749340,
  0.88192126434835502971275686366039,
  0.87008699110871141865229240448385,
  0.85772861000027206990226998428477,
  0.84485356524970707325957120510496,
  0.83146961230254523707878837761791,
  0.81758481315158369650492088413063,
  0.80320753148064490980667651296314,
  0.78834642762660626200916470535969,
  0.77301045336273696081090660975847,
  0.75720884650648454757546405360578,
  0.74095112535495909117561689749516,
  0.72424708295146692094106924329055,
  0.70710678118654752440084436210485,
  0.68954054473706692461673062995748,
  0.67155895484701840062537685042742,
  0.65317284295377676408420301365631,
  0.63439328416364549821517161322549,
  0.61523159058062684548491356341398,
  0.59569930449243334346703652882997,
  0.57580819141784530074597245381573,
  0.55557023301960222474283081394853,
  0.53499761988709721066307690463702,
  0.51410274419322172659369383896882,
  0.49289819222978403687302668875881,
  0.47139673682599764855638762590525,
  0.44961132965460660004629457942423,
  0.42755509343028209432096685688880,
  0.40524131400498987090848130550505,
  0.38268343236508977172845998403040,
  0.35989503653498814877510457232676,
  0.33688985339222005068925321261915,
  0.31368174039889147665647884599410,
  0.29028467725446236763619237581740,
  0.26671275747489838632528651511644,
  0.24298017990326388994827416207747,
  0.21910124015686979722773754749736,
  0.19509032201612826784828486847702,
  0.17096188876030122636364235720826,
  0.14673047445536175165885012964672,
  0.12241067519921619849870447415095,
  0.09801714032956060199419556388864,
  0.07356456359966742352946562157523,
  0.04906767432741801425495497694268,
  0.02454122852291228803173452945928,
  0.00000000000000000000000000000000,
  -0.02454122852291228803173452945928,
  -0.04906767432741801425495497694268,
  -0.07356456359966742352946562157523,
  -0.09801714032956060199419556388864,
  -0.12241067519921619849870447415095,
  -0.14673047445536175165885012964672,
  -0.17096188876030122636364235720826,
  -0.19509032201612826784828486847702,
  -0.21910124015686979722773754749736,
  -0.24298017990326388994827416207747,
  -0.26671275747489838632528651511643,
  -0.29028467725446236763619237581740,
  -0.31368174039889147665647884599410,
  -0.33688985339222005068925321261915,
  -0.35989503653498814877510457232676,
  -0.38268343236508977172845998403040,
  -0.40524131400498987090848130550505,
  -0.42755509343028209432096685688880,
  -0.44961132965460660004629457942423,
  -0.47139673682599764855638762590525,
  -0.49289819222978403687302668875881,
  -0.51410274419322172659369383896882,
  -0.53499761988709721066307690463702,
  -0.55557023301960222474283081394853,
  -0.57580819141784530074597245381573,
  -0.59569930449243334346703652882997,
  -0.61523159058062684548491356341398,
  -0.63439328416364549821517161322549,
  -0.65317284295377676408420301365631,
  -0.67155895484701840062537685042742,
  -0.68954054473706692461673062995748,
  -0.70710678118654752440084436210485,
  -0.72424708295146692094106924329055,
  -0.74095112535495909117561689749516,
  -0.75720884650648454757546405360578,
  -0.77301045336273696081090660975847,
  -0.78834642762660626200916470535969,
  -0.80320753148064490980667651296314,
  -0.81758481315158369650492088413063,
  -0.83146961230254523707878837761791,
  -0.84485356524970707325957120510496,
  -0.85772861000027206990226998428477,
  -0.87008699110871141865229240448385,
  -0.88192126434835502971275686366039,
  -0.89322430119551532034241644749340,
  -0.90398929312344333158620029723054,
  -0.91420975570353065463501482939358,
  -0.92387953251128675612818318939679,
  -0.93299279883473888771166025554330,
  -0.94154406518302077841250940259950,
  -0.94952818059303666719593607418935,
  -0.95694033573220886493579788698027,
  -0.96377606579543986668646435550784,
  -0.97003125319454399260398420728610,
  -0.97570213003852854446039576641953,
  -0.98078528040323044912618223613424,
  -0.98527764238894124477401843317855,
  -0.98917650996478097345167373801624,
  -0.99247953459870999815676725166112,
  -0.99518472667219688624483695310948,
  -0.99729045667869021613559714018257,
  -0.99879545620517239271477160475910,
  -0.99969881869620422011576564966617,
  -1.00000000000000000000000000000016,
  -0.99969881869620422011576564966617,
  -0.99879545620517239271477160475910,
  -0.99729045667869021613559714018257,
  -0.99518472667219688624483695310948,
  -0.99247953459870999815676725166112,
  -0.98917650996478097345167373801624,
  -0.98527764238894124477401843317855,
  -0.98078528040323044912618223613424,
  -0.97570213003852854446039576641953,
  -0.97003125319454399260398420728610,
  -0.96377606579543986668646435550784,
  -0.95694033573220886493579788698027,
  -0.94952818059303666719593607418935,
  -0.94154406518302077841250940259950,
  -0.93299279883473888771166025554330,
  -0.92387953251128675612818318939679,
  -0.91420975570353065463501482939358,
  -0.90398929312344333158620029723054,
  -0.89322430119551532034241644749340,
  -0.88192126434835502971275686366039,
  -0.87008699110871141865229240448385,
  -0.85772861000027206990226998428477,
  -0.84485356524970707325957120510496,
  -0.83146961230254523707878837761791,
  -0.81758481315158369650492088413063,
  -0.80320753148064490980667651296314,
  -0.78834642762660626200916470535969,
  -0.77301045336273696081090660975847,
  -0.75720884650648454757546405360578,
  -0.74095112535495909117561689749516,
  -0.72424708295146692094106924329055,
  -0.70710678118654752440084436210485,
  -0.68954054473706692461673062995748,
  -0.67155895484701840062537685042742,
  -0.65317284295377676408420301365631,
  -0.63439328416364549821517161322549,
  -0.61523159058062684548491356341398,
  -0.59569930449243334346703652882997,
  -0.57580819141784530074597245381573,
  -0.55557023301960222474283081394853,
  -0.53499761988709721066307690463702,
  -0.51410274419322172659369383896882,
  -0.49289819222978403687302668875881,
  -0.47139673682599764855638762590525,
  -0.44961132965460660004629457942423,
  -0.42755509343028209432096685688880,
  -0.40524131400498987090848130550505,
  -0.38268343236508977172845998403040,
  -0.35989503653498814877510457232676,
  -0.33688985339222005068925321261915,
  -0.31368174039889147665647884599410,
  -0.29028467725446236763619237581740,
  -0.26671275747489838632528651511644,
  -0.24298017990326388994827416207747,
  -0.21910124015686979722773754749736,
  -0.19509032201612826784828486847702,
  -0.17096188876030122636364235720826,
  -0.14673047445536175165885012964672,
  -0.12241067519921619849870447415095,
  -0.09801714032956060199419556388864,
  -0.07356456359966742352946562157523,
  -0.04906767432741801425495497694268,
  -0.02454122852291228803173452945928,
  0.00000000000000000000000000000000,
  0.02454122852291228803173452945928,
  0.04906767432741801425495497694268,
  0.07356456359966742352946562157523,
  0.09801714032956060199419556388864,
  0.12241067519921619849870447415095,
  0.14673047445536175165885012964672,
  0.17096188876030122636364235720826,
  0.19509032201612826784828486847702,
  0.21910124015686979722773754749736,
  0.24298017990326388994827416207747,
  0.26671275747489838632528651511643,
  0.29028467725446236763619237581740,
  0.31368174039889147665647884599410,
  0.33688985339222005068925321261915,
  0.35989503653498814877510457232676,
  0.38268343236508977172845998403040,
  0.40524131400498987090848130550505,
  0.42755509343028209432096685688880,
  0.44961132965460660004629457942423,
  0.47139673682599764855638762590525,
  0.49289819222978403687302668875881,
  0.51410274419322172659369383896882,
  0.53499761988709721066307690463702,
  0.55557023301960222474283081394853,
  0.57580819141784530074597245381573,
  0.59569930449243334346703652882997,
  0.61523159058062684548491356341398,
  0.63439328416364549821517161322549,
  0.65317284295377676408420301365631,
  0.67155895484701840062537685042742,
  0.68954054473706692461673062995748,
  0.70710678118654752440084436210485,
  0.72424708295146692094106924329055,
  0.74095112535495909117561689749516,
  0.75720884650648454757546405360578,
  0.77301045336273696081090660975847,
  0.78834642762660626200916470535969,
  0.80320753148064490980667651296314,
  0.81758481315158369650492088413063,
  0.83146961230254523707878837761791,
  0.84485356524970707325957120510496,
  0.85772861000027206990226998428477,
  0.87008699110871141865229240448385,
  0.88192126434835502971275686366039,
  0.89322430119551532034241644749340,
  0.90398929312344333158620029723054,
  0.91420975570353065463501482939358,
  0.92387953251128675612818318939679,
  0.93299279883473888771166025554330,
  0.94154406518302077841250940259950,
  0.94952818059303666719593607418935,
  0.95694033573220886493579788698027,
  0.96377606579543986668646435550784,
  0.97003125319454399260398420728610,
  0.97570213003852854446039576641953,
  0.98078528040323044912618223613424,
  0.98527764238894124477401843317855,
  0.98917650996478097345167373801624,
  0.99247953459870999815676725166112,
  0.99518472667219688624483695310948,
  0.99729045667869021613559714018257,
  0.99879545620517239271477160475910,
  0.99969881869620422011576564966617,
};
