Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add error reporting of interval for some of trigonometric functions#4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Komzpa wants to merge1 commit intopostgrespro:PGPRO9_6
base:PGPRO9_6
Choose a base branch
Loading
fromKomzpa:patch-1
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletionssrc/backend/utils/adt/float.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1951,7 +1951,7 @@ dacosd(PG_FUNCTION_ARGS)
if (arg1 < -1.0 || arg1 > 1.0)
ereport(ERROR,
(errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
errmsg("input is out of range")));
errmsg("input is out of[-1, 1]range")));

if (arg1 >= 0.0)
result = acosd_q1(arg1);
Expand DownExpand Up@@ -1986,7 +1986,7 @@ dasind(PG_FUNCTION_ARGS)
if (arg1 < -1.0 || arg1 > 1.0)
ereport(ERROR,
(errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
errmsg("input is out of range")));
errmsg("input is out of[-1, 1]range")));

if (arg1 >= 0.0)
result = asind_q1(arg1);
Expand DownExpand Up@@ -2500,7 +2500,6 @@ float8_combine(PG_FUNCTION_ARGS)
float8N,
sumX,
sumX2;

if (!AggCheckCallContext(fcinfo, NULL))
elog(ERROR, "aggregate function called in non-aggregate context");

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp