1

My libm does not have sin and cos functions.

Is there a configuration switch that enables me to compile spidermonkey without the Math.* function of JavaScript?

Regards

Stasik
  • 2,568
  • 1
  • 25
  • 44

2 Answers2

1

Perhaps you can write stub (dummy) functions to avoid the compilation/link errors..

Forhad Ahmed
  • 1,761
  • 13
  • 18
0

It might be easier to implement sin/cos in a helper file than to remove Math from javascript.

Kijewski
  • 25,517
  • 12
  • 101
  • 143
Jeff Johnson
  • 2,310
  • 13
  • 23