- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
PowerPC 440 sin-functi on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-04-2009 12:43 PM
Good day.
I'm using a PowerPC 440 on a Virtex-5 FPGA and want to generate a sine wave. In the process I've discovered the "sin"-finction in math.h, but cant seem to get it working correctly. Can anyone please shine some light on this funciton? How does it work? Is it working in radians or degrees?
Solved! Go to Solution.
Re: PowerPC 440 sin-functi on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2009 11:18 AM
Take a peek at the sin man page:
"These functions shall compute the sine of their argument x, measured in radians"
Re: PowerPC 440 sin-functi on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2009 12:25 PM
Thanks Brian!
Where can I obtain these manuals (for instance the manual for the math-funtions)? I looked on the internet for information on these functions, but was unsure what to look for.
Re: PowerPC 440 sin-functi on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2009 12:34 PM
These are standard C math library functions. You can view these man pages from your Unix prompt. I.E.
$ man sin
$ man math.h
etc...
-Brian
Re: PowerPC 440 sin-functi on
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-05-2009 12:41 PM











