Skip to content

Commit

Permalink
#1055 bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LADSoft committed Nov 27, 2024
1 parent c2bb24f commit 1b601b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/clibs/math/lgamma.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,15 @@ float __lgammafn_f_sign(float x, int *sgn)
return ans;
}

double lgamma(double x)
double _RTL_FUNC lgamma(double x)
{
return __lgammafn_sign(x, NULL);
}
long double lgammal(long double x)
long double _RTL_FUNC lgammal(long double x)
{
return __lgammafn_sign(x, NULL);
}
float lgammaf(float x)
float _RTL_FUNC lgammaf(float x)
{
return __lgammafn_f_sign(x, NULL);
}
2 changes: 1 addition & 1 deletion src/clibs/math/mtherr.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int merror = 0;
* messages is bound to the error codes defined
* in mconf.h.
*/
static char *ermsg[7] = {
static char *ermsg[9] = {
"unknown", /* error code 0 */
"domain", /* error code 1 */
"singularity", /* et seq. */
Expand Down

0 comments on commit 1b601b2

Please sign in to comment.