ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Limit of number which sin() can handle? (https://www.excelbanter.com/excel-worksheet-functions/75822-limit-number-sin-can-handle.html)

Lafayette

Limit of number which sin() can handle?
 
sin() seems unable to handle a large number like 1.35 e8? Is anyone aware of
this type of computational limit? Thanks for related information

Rogerio Takejame

Limit of number which sin() can handle?
 
It seams that the limit is 2^27-1 = 1.34 e8 but I don't know why. To avoid
the error, you can use =sin(mod(1.35 e8, 2 * pi()))

--
Rogerio Takejame
Americana - Sao Paulo - Brazil


"Lafayette" wrote:

sin() seems unable to handle a large number like 1.35 e8? Is anyone aware of
this type of computational limit? Thanks for related information


Lafayette

Limit of number which sin() can handle?
 
Appreciate your reply. Your solution works pretty well.

"Rogerio Takejame" wrote:

It seams that the limit is 2^27-1 = 1.34 e8 but I don't know why. To avoid
the error, you can use =sin(mod(1.35 e8, 2 * pi()))

--
Rogerio Takejame
Americana - Sao Paulo - Brazil


"Lafayette" wrote:

sin() seems unable to handle a large number like 1.35 e8? Is anyone aware of
this type of computational limit? Thanks for related information


Rogerio Takejame

Limit of number which sin() can handle?
 
Please, rate this answer

--
Rogerio Takejame
Americana - Sao Paulo - Brazil


"Lafayette" wrote:

Appreciate your reply. Your solution works pretty well.

"Rogerio Takejame" wrote:

It seams that the limit is 2^27-1 = 1.34 e8 but I don't know why. To avoid
the error, you can use =sin(mod(1.35 e8, 2 * pi()))

--
Rogerio Takejame
Americana - Sao Paulo - Brazil


"Lafayette" wrote:

sin() seems unable to handle a large number like 1.35 e8? Is anyone aware of
this type of computational limit? Thanks for related information



All times are GMT +1. The time now is 08:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com