Opened 14 years ago

Closed 11 years ago

#1321 closed defect (fixed)

DebCheck QA: Passing value -1 to sqrt() leads to undefined result

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Vector Version: 6.4.0
Keywords: v.mapcalc Cc:
CPU: Unspecified Platform: Linux

Description

(see #1311)

  • ./vector/v.mapcalc/vector.c:127 [error] - Passing value -1 to sqrt() leads to undefined result

(v.mapcalc? anyone ever play with this code??)

Hamish

Change History (3)

comment:1 by neteler, 14 years ago

v.mapcalc should be svn moved out to GRASS Addons.

comment:2 by hamish, 13 years ago

sqrt(-1) to set nan value replaced by 0.0/0.0 in devbr6 and trunk with r50193-5.

Hamish

comment:3 by hamish, 11 years ago

Milestone: 6.4.26.4.4
Resolution: fixed
Status: newclosed

nan creation backported to relbr64 in r57770, closing ticket.

Some more fixes applied so now it builds in all branches (need to run make twice in 6.x as it's missing some Makefile target prereq).

Unless someone wants to take it up, recommend to move trunk's v.mapcalc code into addons svn since the module remains a work in progress.

Hamish

Note: See TracTickets for help on using tickets.