-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from olebole/noirlab-compatibility
Add numerical recipes to libxtools for Noirlab compatibility
- Loading branch information
Showing
9 changed files
with
126 additions
and
277 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
#define import_spp | ||
#include <iraf.h> | ||
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. | ||
*/ | ||
|
||
#include <math.h> | ||
|
||
double lgamma (double x); | ||
float lgammaf (float x); | ||
|
||
|
||
/* GAMMLN -- Return natural log of gamma function. | ||
* Argument must greater than 0. | ||
*/ | ||
|
||
XREAL gammln_ (XREAL *xx) | ||
float gammln_ (float *x) | ||
{ | ||
float lgammaf(float); | ||
return lgammaf (*x); | ||
} | ||
|
||
return lgammaf(*xx); | ||
double dgammn_ (double *x) | ||
{ | ||
return lgamma (*x); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.