manimarank has asked for the wisdom of the Perl Monks concerning the following question:
Greetings to all!!!
Has someone help me the algorithm to find out the missing flatoing values in an array pls..
For example an array contains the value of 1.1 to 1.20 with the increment of 0.1 i.e (1.1,1.2,1.3 .... 1.20).
How do i find out if 1.15 is missing in the list???
provide me some algorithm pls..
regards,
Manimaran
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Find out missing floating value in an array
by Punitha (Priest) on Dec 26, 2007 at 07:20 UTC | |
Re: Find out missing floating value in an array
by ysth (Canon) on Dec 26, 2007 at 06:55 UTC | |
Re: Find out missing floating value in an array
by apl (Monsignor) on Dec 26, 2007 at 12:38 UTC | |
Re: Find out missing floating value in an array
by roboticus (Chancellor) on Dec 26, 2007 at 15:32 UTC | |
Re: Find out missing floating value in an array
by ambrus (Abbot) on Dec 27, 2007 at 08:27 UTC |
Back to
Seekers of Perl Wisdom