changed how to calculate the mid point in a binary search loop

This commit is contained in:
hyunghwan.chung
2017-05-04 05:22:45 +00:00
parent 68a7118fb2
commit 1dff630fdd
3 changed files with 19 additions and 5 deletions

View File

@ -8,6 +8,17 @@ class Exception(Apex)
{
var signalContext, handlerContext, messageText.
(*
TODO: can i convert 'thisProcess primError' to a relevant exception?
var(#class) primExceptTable.
method(#class) forPrimitiveError: no
{
^self.primExceptTable at: no
}
*)
method(#class) signal
{
^self new signal